dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Login token not created

Open Forchapeatl opened this issue 1 year ago • 3 comments

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

Forchapeatl avatar May 08 '24 21:05 Forchapeatl

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

Jay-Fred avatar Jan 09 '25 02:01 Jay-Fred

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

13023599035 avatar Jan 09 '25 08:01 13023599035

Can you try this PR? I fixed it and it should solve the problem https://github.com/kubeedge/dashboard/pull/36

ryan-jay-qiu avatar Jan 10 '25 08:01 ryan-jay-qiu