mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 00:40:27 +02:00
Fix multiple --set in --args messed up in helmfile template (#1529)
Fixes #1520
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user