From 7ecc3f0096dc5325570da5e5a0c6d3f3164013a3 Mon Sep 17 00:00:00 2001 From: Gerard Nguyen Date: Mon, 8 Apr 2024 11:55:20 +1000 Subject: [PATCH] revert needsConfig check --- pkg/pull/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pull/pull.go b/pkg/pull/pull.go index f61c13b7d2..7ccb73fd20 100644 --- a/pkg/pull/pull.go +++ b/pkg/pull/pull.go @@ -358,7 +358,7 @@ func Pull(upstreamURI string, pullOptions PullOptions) (string, error) { ReportWriter: pullOptions.ReportWriter, } - if needsConfig && pullOptions.ConfigFile == "" { + if needsConfig { if err := kotsutil.WriteKotsKinds(renderedKotsKindsMap, u.GetKotsKindsDir(writeUpstreamOptions)); err != nil { return "", errors.Wrap(err, "failed to write the rendered kots kinds") }