diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b947773..0939bd0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -55,9 +55,14 @@ jobs: # Deploy Central via deploy scripts. cd stackrox ./deploy/central.sh + kubectl set env -n stackrox deploy/central ROX_AUTH_MACHINE_TO_MACHINE=true + + # Sleep to ensure Central pods are restarted + sleep 60 + + ./deploy/k8s/central-deploy/scripts/port-forward.sh 8000 echo "ROX_PASSWORD=$(cat deploy/k8s/central-deploy/password)" >> $GITHUB_OUTPUT - echo "ROX_ENDPOINT=$()" >> $GITHUB_OUTPUT - name: Wait for API env: