expose --as-current-user via GetRunFnRunner

This commit is contained in:
Khris Richardson
2021-06-15 12:30:17 -07:00
parent 727e24f365
commit 2e674337b3

View File

@@ -72,7 +72,7 @@ func GetRunFnRunner(name string) *RunFnRunner {
&r.Env, "env", "e", []string{},
"a list of environment variables to be used by functions")
r.Command.Flags().BoolVar(
&r.AsCurrentUser, "as-current-user", false, "use the uid and gid that kpt is running with to run the function in the container")
&r.AsCurrentUser, "as-current-user", false, "use the uid and gid of the command executor to run the function in the container")
return r
}