Skip to content

Commit

Permalink
Use bearer auth for remote ocp
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <[email protected]>
  • Loading branch information
yaacov committed May 9, 2024
1 parent edc2a21 commit 7071686
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 7071686

Please sign in to comment.