From 8920414535a5ea072a7730c9b180b1bd2f5c9910 Mon Sep 17 00:00:00 2001 From: Daniel Haus Date: Fri, 3 Nov 2023 05:25:18 +0100 Subject: [PATCH] Ensure feature flag is turned on. --- .github/workflows/e2e.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: