mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
write krm metadata to Krmfile instead of Kustomization
This commit is contained in:
committed by
Phillip Wittrock
parent
c1a2bf14da
commit
0e5e2648b3
@@ -126,13 +126,9 @@ func (r *ListSettersRunner) ListSubstitutions(c *cobra.Command, args []string) e
|
||||
s.Name, s.Pattern, setters})
|
||||
}
|
||||
if len(r.List.Substitutions) == 0 {
|
||||
// exit non-0 if no matching substitutions are found
|
||||
if ExitOnError {
|
||||
os.Exit(1)
|
||||
}
|
||||
} else {
|
||||
table.Render()
|
||||
return nil
|
||||
}
|
||||
table.Render()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user