diff --git a/.ci/openshift-ci/build-root/e2e-test.sh b/.ci/openshift-ci/build-root/e2e-test.sh index ed758efaa..778416270 100644 --- a/.ci/openshift-ci/build-root/e2e-test.sh +++ b/.ci/openshift-ci/build-root/e2e-test.sh @@ -16,7 +16,7 @@ printenv KUBEADMIN_PASSWORD_FILE oc get node oc config view -export SYSADMIN_USERNAME=$(oc whoami) +export SYSADMIN_USERNAME=kubeadmin export SYSADMIN_PASSWORD=$(cat "${KUBEADMIN_PASSWORD_FILE}") export TEST_CLUSTER_URL=$(oc whoami --show-server) oc login "${TEST_CLUSTER_URL}" -u "${SYSADMIN_USERNAME}" -p "${SYSADMIN_PASSWORD}" --insecure-skip-tls-verify=true