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

Require Helm 3.9.0 or newer #846

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

pstranak-sw
Copy link
Contributor

  • Increase required Helm version from 3.8 to 3.9.
  • Explicitly mention it in the documentation.
  • Check for the version during chart installation.

Note: Helm 3.9.0 is the first version where the .Capabilities.HelmVersion.Version actually works.

@pstranak-sw pstranak-sw requested a review from a team as a code owner December 19, 2024 10:59
{{ fail "This version of Helm is not supported. Please use 3.9.0 or newer." }}
{{- end -}}

{{- if eq ((semver "3.9.0").Compare (semver .Capabilities.HelmVersion.Version)) 1 -}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Technically speaking, this check is not needed, since right now, it only applies to 3.9.0-rc.1 (everything older is also covered by the check above). But I'd keep it to make the requirement explicitly stated here in the code.

@pstranak-sw pstranak-sw merged commit 9af3503 into master Jan 2, 2025
19 checks passed
@pstranak-sw pstranak-sw deleted the increaseHelmRequirements branch January 2, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants