Skip to content

Helm version check fails with Fedora packaged Helm #2663

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mayooot
Copy link
Contributor

@mayooot mayooot commented Apr 9, 2025

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #2545

Please provide a short message that should be published in the vcluster release notes
CheckHelmVersion function adapts version that do not begin with 'v'

What else do we need to know?
nothing

@mayooot mayooot requested a review from a team as a code owner April 9, 2025 07:01
Copy link

netlify bot commented Apr 9, 2025

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 105e55e
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/67fcb04e8f2d2600089f6eb2

@mayooot mayooot force-pushed the fix/checkhelmverison branch from 7688dc9 to 58a4ce6 Compare April 9, 2025 07:05
if !strings.HasPrefix(output, "v") {
output = "v" + output
}

if semver.Compare(output, MinHelmVersion) == -1 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for sending a PR. Could you add some unit tests for this ? Would like to track the types of version that we are supporting.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'm done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm version check fails with Fedora packaged Helm
2 participants