mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
append AsCurrentUser to FnPluginLoadingOptions
This commit is contained in:
@@ -42,7 +42,7 @@ const (
|
||||
BploLoadFromFileSys
|
||||
)
|
||||
|
||||
// FnPluginLoadingOptions set way functions-based pluing are restricted
|
||||
// FnPluginLoadingOptions set way functions-based plugins are restricted
|
||||
type FnPluginLoadingOptions struct {
|
||||
// Allow to run executables
|
||||
EnableExec bool
|
||||
@@ -55,4 +55,6 @@ type FnPluginLoadingOptions struct {
|
||||
Mounts []string
|
||||
// list of env variables to pass to fn
|
||||
Env []string
|
||||
// Run as uid and gid of the command executor
|
||||
AsCurrentUser bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user