-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.16
-
None
This is a clone of issue OCPBUGS-33801. The following is the description of the original issue:
—
Description of problem:
The instructions for running a local console with authentication documented in https://github.com/openshift/console?tab=readme-ov-file#openshift-with-authentication appear to no longer work.
Steps to Reproduce:
1. Follow the steps in https://github.com/openshift/console?tab=readme-ov-file#openshift-with-authentication
Actual results:
console on master [$?] via 🐳 desktop-linux via 🐹 v1.19.5 via v18.20.2 via 💎 v3.1.3 on ☁️ openshift-dev (us-east-1) ❯ ./examples/run-bridge.sh ++ oc whoami --show-token ++ oc whoami --show-server ++ oc -n openshift-config-managed get configmap monitoring-shared-config -o 'jsonpath={.data.alertmanagerPublicURL}' ++ oc -n openshift-config-managed get configmap monitoring-shared-config -o 'jsonpath={.data.thanosPublicURL}' + ./bin/bridge --base-address=http://localhost:9000 --ca-file=examples/ca.crt --k8s-auth=bearer-token --k8s-auth-bearer-token=sha256~EEIDh9LGIzlQ83udktABnEEIse3bintNzKNBJwQfvNI --k8s-mode=off-cluster --k8s-mode-off-cluster-endpoint=https://api.rhamilto.devcluster.openshift.com:6443 --k8s-mode-off-cluster-skip-verify-tls=true --listen=http://127.0.0.1:9000 --public-dir=./frontend/public/dist --user-auth=openshift --user-auth-oidc-client-id=console-oauth-client --user-auth-oidc-client-secret-file=examples/console-client-secret --user-auth-oidc-ca-file=examples/ca.crt --k8s-mode-off-cluster-alertmanager=https://alertmanager-main-openshift-monitoring.apps.rhamilto.devcluster.openshift.com --k8s-mode-off-cluster-thanos=https://thanos-querier-openshift-monitoring.apps.rhamilto.devcluster.openshift.com W0515 11:18:55.835781 57122 authoptions.go:103] Flag inactivity-timeout is set to less then 300 seconds and will be ignored! F0515 11:18:55.836030 57122 authoptions.go:299] Error initializing authenticator: file examples/ca.crt contained no CA data
Expected results:
Local console with authentication should work.
- clones
-
OCPBUGS-33801 Running local console with authentication appears to no longer work
- Closed
- is blocked by
-
OCPBUGS-33801 Running local console with authentication appears to no longer work
- Closed
- links to