Skip to content

Commit b222fde

Browse files
Merge pull request #13732 from openshift-cherrypick-robot/cherry-pick-13720-to-release-4.15
[release-4.15] OCPBUGS-31806: Use bearer-token for local dev with auth
2 parents c1ff638 + a90bb43 commit b222fde

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)