Add Helm v4.0.0-beta.1 support to CI and update version constants

Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-10-15 07:35:43 +00:00
co-authored by yxxhero
parent 39156ce410
commit bd864307c1
6 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ import (
const (
HelmRequiredVersion = "v3.18.6"
HelmDiffRecommendedVersion = "v3.13.0"
HelmRecommendedVersion = "v3.19.0"
HelmRecommendedVersion = "v4.0.0-beta.1"
HelmSecretsRecommendedVersion = "v4.6.5"
HelmGitRecommendedVersion = "v1.3.0"
HelmS3RecommendedVersion = "v0.16.3"
+1 -1
View File
@@ -210,7 +210,7 @@ func (helm *Helm) IsHelm3() bool {
if helm.Version == nil {
return helm.Helm3
}
return helm.Version.Major() == 3
return helm.Version.Major() >= 3
}
func (helm *Helm) GetVersion() helmexec.Version {
+1 -1
View File
@@ -647,7 +647,7 @@ func (helm *execer) write(w io.Writer, out []byte) {
}
func (helm *execer) IsHelm3() bool {
return helm.version.Major() == 3
return helm.version.Major() >= 3
}
func (helm *execer) GetVersion() Version {