mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-21 12:50:02 +02:00
Ensure 'helm repo add' is also not pollute on helmfile template (#1887)
When having multiple helmfiles in one helmfile.d folder and multiple of them having repositories defined, the errors mention in #1749 still existed. Fixes #1749 (again) Signed-off-by: Matthias Baur <m.baur@syseleven.de>
This commit is contained in:
@@ -1449,10 +1449,6 @@ func (st *HelmState) runHelmDepBuilds(helm helmexec.Interface, concurrency int,
|
||||
//
|
||||
// See https://github.com/roboll/helmfile/issues/1521
|
||||
|
||||
// Reset helm extra args to not pollute BuildDeps() on subsequent helmfiles
|
||||
// https://github.com/helmfile/helmfile/issues/1749
|
||||
helm.SetExtraArgs()
|
||||
|
||||
for _, r := range builds {
|
||||
buildDepsFlags := getBuildDepsFlags(r)
|
||||
if err := helm.BuildDeps(r.releaseName, r.chartPath, buildDepsFlags...); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user