mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-16 09:30:56 +00:00
Merge pull request #2999 from aodinokov/fixenv
Added list of env variables for fn-plugins
This commit is contained in:
@@ -90,6 +90,9 @@ func NewCmdBuild(out io.Writer) *cobra.Command {
|
||||
cmd.Flags().StringArrayVar(
|
||||
&o.fnOptions.Mounts, "mount", []string{},
|
||||
"a list of storage options read from the filesystem")
|
||||
cmd.Flags().StringArrayVarP(
|
||||
&o.fnOptions.Env, "env", "e", []string{},
|
||||
"a list of environment variables to be used by functions")
|
||||
|
||||
addFlagLoadRestrictor(cmd.Flags())
|
||||
addFlagEnablePlugins(cmd.Flags())
|
||||
|
||||
Reference in New Issue
Block a user