当我运行 helm version
时,我可以看到身份验证错误:
Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
Error: <html><head><meta http-equiv='refresh' content='1;url=/login?from=%2Fapi%2Fv1%2Fnamespaces%2Fkube-system%2Fpods%3FlabelSelector%3Dapp%253Dhelm%252Cname%253Dtiller'/><script>window.location.replace('/login?from=%2Fapi%2Fv1%2Fnamespaces%2Fkube-system%2Fpods%3FlabelSelector%3Dapp%253Dhelm%252Cname%253Dtiller');</script></head><body style='background-color:white; color:white;'>
Authentication required
<!--
You are authenticated as: anonymous
Groups that you are in:
Permission you need to have (but didn't): hudson.model.Hudson.Read
... which is implied by: hudson.security.Permission.GenericRead
... which is implied by: hudson.model.Hudson.Administer
-->
</body></html> (get pods)
此错误也破坏了我的部署过程,因此我将其作为 helm 身份验证的问题进行了调试。
有人可以建议如何解决这个问题吗?