-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add error dialog when user tries to login with kubectl proxy to some other address (not localhost) #2580
Comments
Check #2540 (comment). @floreks Are we able to display some kind of dialog here? |
@maciaszczykm |
@maciaszczykm Ha i found it. Here it is. I try to log 2 times in with my token here. It's a bit messy sorry ^^ (PS : it's a token from the serviceaccount i created) |
I also grant ClusterRole : cluster-admin to my serviceaccount to access the cluster (it it's the right way to do it ) :
|
@maciaszczykm I'm just stuck here |
Probably. This code prevents you from logging in. @Theoooooo Exposing Dashboard publicly using |
@floreks How can i access this code ? i have no idea :/ |
@Theoooooo You have to expose (using |
@floreks |
https://github.com/kubernetes/dashboard/wiki/Getting-started You can build and deploy your own version of Dashboard. We do not support accessing Dashboard in a non-secure way (via login page). |
@floreks or could we add one config option for this? |
I'd rather not do this as it is not secure. Traffic from other device to the device that exposes API using We can add dialog to inform user why this is not possible. |
Hi,
Dashboard is used inside my kubernetes cluster.
Everything is working in my cluster and i'm accessing my dashboard with the kubectl proxy command.
I want to create new serviceaccount to access my dashboard without grant full access to the kubernetes-dashboard user which is not secure at all.
Steps to reproduce
I create a new service account and grant him full access to the cluster.
Whem i'm going to the dashboard login menu, i enter the token of my serviceaccount and click on "Sign In". But nothing happened. And i don't have any error. Soo i supose the token is valid and the UI recognise the token. But the authentification is not going further.
Observed result
I can't login with my token. Nothing happened
I'm stuck for the moment. I will update if i found something.
The text was updated successfully, but these errors were encountered: