mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 09:06:29 +02:00
This is for #1213 so that the releases are considered scoped to their namespace and not to tiller namespace. Fixes #1213
This commit is contained in:
@@ -5,6 +5,15 @@ import "github.com/roboll/helmfile/pkg/helmexec"
|
||||
type noCallHelmExec struct {
|
||||
}
|
||||
|
||||
type versionOnlyHelmExec struct {
|
||||
*noCallHelmExec
|
||||
isHelm3 bool
|
||||
}
|
||||
|
||||
func (helm *versionOnlyHelmExec) IsHelm3() bool {
|
||||
return helm.isHelm3
|
||||
}
|
||||
|
||||
func (helm *noCallHelmExec) doPanic() {
|
||||
panic("unexpected call to helm")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user