Added list of env variables for fn-plugins

KRM-functions should be able get env variables.
Reflecting in `build` cmd args added in [1]
for `fn run` cmd.

[1]
https://github.com/kubernetes-sigs/kustomize/pull/2988/
This commit is contained in:
Alexey Odinokov
2020-09-17 03:41:36 +00:00
parent 76bae738a0
commit b314ca185f
3 changed files with 6 additions and 0 deletions

View File

@@ -53,4 +53,6 @@ type FnPluginLoadingOptions struct {
NetworkName string
// list of mounts
Mounts []string
// list of env variables to pass to fn
Env []string
}