Skip to content
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

GetAvailablePackageVersions returns non-semver versions unchanged #6249

Merged
merged 1 commit into from
May 10, 2023

Conversation

absoludity
Copy link
Contributor

Description of the change

When Kubeapps was encountering Helm charts with non-semver versions, rather than just returning the versions as they are, we were implicitly converting them to the closest semver. This resulted in Kubeapps then not being able to upgrade to a different version once an app with a non-semver version was installed.

See #6099 for more detail.

Benefits

If people choose to use non-semver versions, we don't block them from upgrading.

Possible drawbacks

We were previously ignoring errors when creating semver versions whereas with this PR we now simply return all the versions as they were provided. This may change some untested behavior, though unlikely.

Applicable issues

Additional information

Also fixes an accidental change to our dev environment Makefile (I'd accidentally committed a change in #6209 that had our dev environment installing the upstream bitnami chart rather than the dev kubeapps one).

@netlify
Copy link

netlify bot commented May 9, 2023

Deploy Preview for kubeapps-dev canceled.

Name Link
🔨 Latest commit 0dbd4c3
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/6459a18e8371370008064260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Not able to choose/upgrade to old major version from Kubeapps UI.
2 participants