Skip to content

Commit

Permalink
only render all in non-interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nvanthao committed Apr 1, 2024
1 parent 0f51feb commit a7e1e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kots/cli/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TemplateCmd() *cobra.Command {

// when no args are provided, render all mode, similar to helm template
// we will utilize pull command to fetch and render manifests from upstream
if len(args) == 0 {
if len(args) == 0 && !interactive {
err := pullAndRender(license.Spec.AppSlug, licenseFile, configFile)
if err != nil {
return errors.Wrap(err, "failed to render all templates")
Expand Down

0 comments on commit a7e1e1c

Please sign in to comment.