GithubHelp home page GithubHelp logo

Comments (14)

MykolaDzhamQC avatar MykolaDzhamQC commented on June 6, 2024 2

If you rely on something you have to at least clearly declare that you expect the version to be at least this specific version.
The same as it is usually declared "K8s versions supported: 1.XX, 1.XX-1" etc.
And helm is now critical dependency for you as "As of version 7.0.0, we have dropped support for Manifest-based installation. Only Helm-based installation is supported now."

from dashboard.

MykolaDzhamQC avatar MykolaDzhamQC commented on June 6, 2024 1

I can reproduce the problem with Helm v3.9. It works well with Helm v3.14.4

from dashboard.

SergeSpinoza avatar SergeSpinoza commented on June 6, 2024

Version of dashboard 7.1.0 works fine, other new versions (7.2.0 and higher) have the same error.

from dashboard.

floreks avatar floreks commented on June 6, 2024

Are you doing a clean Dashboard install and using latest helm?

from dashboard.

SergeSpinoza avatar SergeSpinoza commented on June 6, 2024

@floreks Yes, right.

from dashboard.

floreks avatar floreks commented on June 6, 2024

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. dashboard

from dashboard.

MykolaDzhamQC avatar MykolaDzhamQC commented on June 6, 2024

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

from dashboard.

floreks avatar floreks commented on June 6, 2024

Yes, but this is not a bug on our side since only older helm does not work and the new one does.

/close

from dashboard.

k8s-ci-robot avatar k8s-ci-robot commented on June 6, 2024

@floreks: Closing this issue.

In response to this:

Yes, but this is not a bug on our side since only older helm does not work and the new one does.

/close

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.

from dashboard.

MykolaDzhamQC avatar MykolaDzhamQC commented on June 6, 2024

Yes, but this is not a bug on our side since only older helm does not work and the new one does.

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.

from dashboard.

noelashford avatar noelashford commented on June 6, 2024

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 ... ?

from dashboard.

floreks avatar floreks commented on June 6, 2024

The last helm version with this issue is: v3.9.4
The first working version is: v3.10.0-rc.1

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.

from dashboard.

MykolaDzhamQC avatar MykolaDzhamQC commented on June 6, 2024

The last helm version with this issue is: v3.9.4 The first working version is: v3.10.0-rc.1

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.

from dashboard.

floreks avatar floreks commented on June 6, 2024

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 v3.9.4 was released in August 2022.

from dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.