Skip to content
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

Login token not created #24

Open
Forchapeatl opened this issue May 8, 2024 · 3 comments · May be fixed by #26
Open

Login token not created #24

Forchapeatl opened this issue May 8, 2024 · 3 comments · May be fixed by #26

Comments

@Forchapeatl
Copy link

What should be cleaned up or changed?

The current readme.md instructions on logingin https://github.com/kubeedge/dashboard?tab=readme-ov-file#login-with-token is deprecated as of k8s version >=1.24 refference

image

Why is this needed?

kubectl create token curl-user --namespace kube-system

@Jay-Fred
Copy link

Jay-Fred commented Jan 9, 2025

I obtained the token, but was informed that it is invalid. What is the reason for this?
1736390311838
1736390277940

@13023599035
Copy link

I followed the official tutorial to obtain the token and entered it into the webpage, but it reported an error saying "token invalid." However, when I use the curl -k -H method with the token, I am able to access the cluster's resources.
8596270b394b70863c6de58a8aabe70
60e155c5ed21834674d0bfa937fa71d

@ryan-jay-qiu
Copy link

Can you try this PR? I fixed it and it should solve the problem
#36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants