Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

GetAvailablePackageVersions returns non-semver versions unchanged#6249

Merged
absoludity merged 1 commit into
mainfrom
6099-investigation
May 10, 2023
Merged

GetAvailablePackageVersions returns non-semver versions unchanged#6249
absoludity merged 1 commit into
mainfrom
6099-investigation

Conversation

@absoludity
Copy link
Copy Markdown
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).

Signed-off-by: Michael Nelson <minelson@vmware.com>
@netlify
Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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