Skip to content

Commit

Permalink
Logging in with kubeadmin in order to get a token
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobrz committed Apr 16, 2023
1 parent 10e90df commit 6b68e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/openshift-ci/build-root/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b68e1f

Please sign in to comment.