mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 09:28:50 +02:00
feat: Automatically enable Helm v3 mode
Runs `helm version` in helmexec.New, and exposes a method on Interface to allow other packages to use the detected version. Preserves compatibility with previous HELMFILE_HELM3 mechanism. Resolves #923
This commit is contained in:
committed by
Andrew Drake
parent
43f1188325
commit
c099f69d94
@@ -19,8 +19,10 @@ type Interface interface {
|
||||
TestRelease(context HelmContext, name string, flags ...string) error
|
||||
List(context HelmContext, filter string, flags ...string) (string, error)
|
||||
DecryptSecret(context HelmContext, name string, flags ...string) (string, error)
|
||||
IsHelm3() bool
|
||||
}
|
||||
|
||||
type DependencyUpdater interface {
|
||||
UpdateDeps(chart string) error
|
||||
IsHelm3() bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user