-
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 when install dashboard on clean k8s cluster #8955
Comments
Version of dashboard 7.1.0 works fine, other new versions (7.2.0 and higher) have the same error. |
Are you doing a clean Dashboard install and using latest helm? |
@floreks Yes, right. |
I am not able to reproduce that. The only thing I can think of is that you have some leftover resources in your cluster that conflict with the new csrf secret format. You can try to install Dashboard in a different namespace i.e. |
I can reproduce the problem with Helm v3.9. It works well with Helm v3.14.4 |
This is probably the change that causes the chard to not work with older versions of Helm: https://github.com/kubernetes/dashboard/pull/8882/files#diff-92db08aee8439a4e118fa16cbdeaebdc56a02bea105208db93f365a603645434R78 |
Yes, but this is not a bug on our side since only older helm does not work and the new one does. /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. |
Instructions don't mention however that some specific version of helm required. It's not that an older helm doesn't work - it does. It is that this chart uses something, that only works starting some version of helm, but it doesn't mention this anywhere. |
I also have the same issue and i am using helm 3.14.2-1 , i find it hard to believe this would only work in a slightly higher minor version? Seems like a bug to me as well ... ? |
The last helm version with this issue is: v3.9.4 Feel free to look into the helm source to figure out what kind of bug was fixed in between those versions that made it work. There is nothing unusual used in the chart. It's just a secret lookup + index. |
Sorry, it's about the same as to say that the latest working version of the chart is 7.1.0 and it is then broken in 7.2.0. Just saying "the problem is not on my side" is counterproductive. If you believe there was a bug in helm that was fixed at specific version then it at least worth to clearly mention in the release that specific version of helm is required - that would at least save time for other people figuring out why it doesn't work for them. |
Sorry, but that doesn't make sense. We do not have to test our chart against every helm version that was ever released just to see if it works or not and add notes about that to the release. If at the time of updating the chart all of our tests have passed with the helm version we use, then it is considered working on our side. We cannot be responsible for users in the matter of tool versions they use and whether they decide to keep them up to date or not. For the record, we were not aware of such issues. It is a best practice to keep your tools up-to-date and not use versions that were released ~2 years ago. Helm |
If you rely on something you have to at least clearly declare that you expect the version to be at least this specific version. |
What happened?
When I try to install dashboard to clean k8s cluster (version 1.27.3) via helm, I have error:
For install dashboard I use command from https://github.com/kubernetes/dashboard?tab=readme-ov-file#installation:
What did you expect to happen?
The dashboard will install correctly.
How can we reproduce it (as minimally and precisely as possible)?
Try to install dashboard on clean cluster k8s version 1.27.3
Anything else we need to know?
No response
What browsers are you seeing the problem on?
No response
Kubernetes Dashboard version
7.3.2
Kubernetes version
1.27.3
Dev environment
No response
The text was updated successfully, but these errors were encountered: