-
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
error executing template "{{.data.token | base64decode}}": template: output:1:16: executing "output" at <base64decode>: invalid value; expected string #7081
Comments
Not enough information about the issue and how to reproduce it. You can reopen once the issue template is filled properly and it is clear what is the issue and how to reproduce it. /close |
@floreks: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I ran into the same problem |
Do you have any idea? According to the steps on the official website, I can't get the token to login dashboard! |
I solved,create token: |
Yes, I solved it too. Thank you very much!
从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送
发件人: ***@***.***>
发送时间: 2022年5月11日 16:40
收件人: ***@***.***>
抄送: ***@***.***>; ***@***.***>
主题: Re: [kubernetes/dashboard] error executing template "{{.data.token | base64decode}}": template: output:1:16: executing "output" at <base64decode>: invalid value; expected string (Issue #7081)
I ran into the same problem
Do you have any idea? According to the steps on the official website, I can't get the token to login dashboard!
I solved,create token:
kubectl -n kubernetes-dashboard create token admin-user
―
Reply to this email directly, view it on GitHub<#7081 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIGGPSMG23YBJRJOH3XPS5LVJNXALANCNFSM5VQH7X5A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
In case you arrive here searching for a clue - see breaking changes in Kubernetes 1.24: point 3 regarding LegacyServiceAccountTokenNoAutoGeneration You can create the secret and wire it with the ServiceAccount. Note |
What happened?
error executing template "{{.data.token | base64decode}}": template: output:1:16: executing "output" at : invalid value; expected string
when create user account
What did you expect to happen?
get sa token to login dashboard
How can we reproduce it (as minimally and precisely as possible)?
N/A
Anything else we need to know?
No response
What browsers are you seeing the problem on?
Chrome
Kubernetes Dashboard version
2.5.1
Kubernetes version
1.24
Go version
No response
Node.js version
No response
The text was updated successfully, but these errors were encountered: