Skip to content

Commit

Permalink
Logging in again with system:admin in order to get a token
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobrz committed Apr 15, 2023
1 parent 8dbcf45 commit d5ab6c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .ci/openshift-ci/build-root/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ oc config view

export SYSADMIN_USERNAME=$(oc whoami)
export SYSADMIN_PASSWORD=$(cat "${KUBEADMIN_PASSWORD_FILE}")
oc login "${TEST_CLUSTER_URL}" -u "${SYSADMIN_USERNAME}" -p "${SYSADMIN_PASSWORD}" --insecure-skip-tls-verify=true
export SYSADMIN_TOKEN=$(oc whoami -t)

#export TEST_ADMIN_USERNAME=tadmin
Expand Down

0 comments on commit d5ab6c0

Please sign in to comment.