Skip to content

Commit

Permalink
Merge pull request #1148 from yaacov/use-bearer-token-for-remote-ocp
Browse files Browse the repository at this point in the history
🤖 Use bearer auth for remote ocp
  • Loading branch information
yaacov authored May 9, 2024
2 parents edc2a21 + 7071686 commit e00a3dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/configure/openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ function setup_bridge_for_openshift_oauth () {
BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS=true
BRIDGE_USER_SETTINGS_LOCATION="localstorage"

BRIDGE_K8S_AUTH="openshift"
BRIDGE_USER_AUTH="openshift"
BRIDGE_K8S_AUTH="bearer-token"
BRIDGE_K8S_AUTH_BEARER_TOKEN=$(oc whoami --show-token 2>/dev/null)

if oc_available_loggedin; then
BRIDGE_USER_AUTH_OIDC_CLIENT_ID="console-oauth-client-dev"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e00a3dd

Please sign in to comment.