Fix multiple --set in --args messed up in helmfile template (#1529)

Fixes #1520
This commit is contained in:
Yusuke Kuoka
2020-10-13 08:38:06 +09:00
committed by GitHub
parent 34acf14d7c
commit 3018e82902
2 changed files with 9 additions and 8 deletions
-7
View File
@@ -1149,15 +1149,8 @@ func (st *HelmState) TemplateReleases(helm helmexec.Interface, outputDir string,
o.Apply(opts)
}
// Reset the extra args if already set, not to break `helm fetch` by adding the args intended for `lint`
helm.SetExtraArgs()
errs := []error{}
if len(args) > 0 {
helm.SetExtraArgs(args...)
}
for i := range st.Releases {
release := &st.Releases[i]