Skip to content

Commit a90bb43

Browse files
jhadvigopenshift-cherrypick-robot
authored andcommitted
OCPBUGS-31695: Use bearer-token for local dev with auth
1 parent eb9d956 commit a90bb43

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/run-bridge.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ set -exuo pipefail
55
./bin/bridge \
66
--base-address=http://localhost:9000 \
77
--ca-file=examples/ca.crt \
8-
--k8s-auth=openshift \
8+
--k8s-auth=bearer-token \
9+
--k8s-auth-bearer-token="$(oc whoami --show-token)" \
910
--k8s-mode=off-cluster \
1011
--k8s-mode-off-cluster-endpoint="$(oc whoami --show-server)" \
1112
--k8s-mode-off-cluster-skip-verify-tls=true \

0 commit comments

Comments
 (0)