Use namespace for release unicity with helm3 (#1213) (#1235)

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:
Victor Noël
2020-05-02 09:35:51 +09:00
committed by GitHub
parent a0e30c5193
commit 923bd54db0
3 changed files with 204 additions and 8 deletions
+9
View File
@@ -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")
}