Login token not created
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
Why is this needed?
kubectl create token curl-user --namespace kube-system
I obtained the token, but was informed that it is invalid. What is the reason for this?
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.
Can you try this PR? I fixed it and it should solve the problem https://github.com/kubeedge/dashboard/pull/36