-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes Dashboard Bearer Token Authentication Not Working #18852
Comments
CC: @pacoxu, @lingsamuel, @afbjorklund, @r2d4, @rf232 |
Probably more a question for kubernetes dashboard, by default minikube uses But the usual upstream (now) is something like: |
When I try to access the URL, I expect the Kubernetes dashboard to prompt me for authentication, like a bearer token or kubeconfig. But that's not happening. Is there something specific I should consider? I'm thinking it might be an issue with the addon. The YAML files in the project haven't been updated for a long time: https://github.com/kubernetes/minikube/tree/4f95ed218d40714374dc7652227fe08d54120b23/deploy/addons/dashboard |
By the way, do you know if Minikube supports Helm? I tried installing the Kubernetes dashboard using this tool, but the Kong pod keeps crashing. |
Found a workaround on this kubernetes/dashboard#8765 (comment). Installing the dashboard via helm seems to fix the issue. Nonetheless, I propose suggesting to maintainers the implementation of an official solution. Most users would probably prefer having this security feature readily accessible. /close |
@nnzv: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What Happened?
I'm unable to get the Kubernetes dashboard to work with bearer token authentication. Despite accessing the URL, I'm unable to use the bearer token for authentication. Are there any additional steps required to enable this functionality? I'm primarily experimenting with security concepts in Kubernetes and wish to authenticate to the dashboard using bearer tokens.
Here are the steps to reproduce:
Despite following these steps, bearer token authentication doesn't seem to work. I've attempted to modify the deployment by removing the
--enable-skip-login
and--disable-settings-authorizer
arguments from the Kubernetes dashboard image's entrypoint, but the issue persists.Attach the log file
log.txt
Operating System
Driver
The text was updated successfully, but these errors were encountered: