Skip to content

Commit

Permalink
revert needsConfig check
Browse files Browse the repository at this point in the history
  • Loading branch information
nvanthao committed Apr 8, 2024
1 parent 14fda7f commit cef2eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pull/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit cef2eda

Please sign in to comment.