mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
config run: support for RunFns.Functions and RunFns.Input
- Support specifying RunFns.Functions using the `-i` flag to specify an image - Parse the function config from key-value arguments specified after ` -- ` - Support reading from stdin / writing to stdout if no arguments are provided - Table driven tests for parsing flags and args into RunFns structure
This commit is contained in:
@@ -97,6 +97,9 @@ func NewConfigCommand(name string) *cobra.Command {
|
||||
root.AddCommand(commands.Merge3Command(name))
|
||||
root.AddCommand(commands.CountCommand(name))
|
||||
root.AddCommand(commands.RunFnCommand(name))
|
||||
root.AddCommand(commands.XArgsCommand())
|
||||
root.AddCommand(commands.WrapCommand())
|
||||
|
||||
root.AddCommand(commands.SetCommand(name))
|
||||
root.AddCommand(commands.ListSettersCommand(name))
|
||||
root.AddCommand(commands.CreateSetterCommand(name))
|
||||
|
||||
Reference in New Issue
Block a user