From 2e674337b32e4faef594576d3360f11999238023 Mon Sep 17 00:00:00 2001 From: Khris Richardson Date: Tue, 15 Jun 2021 12:30:17 -0700 Subject: [PATCH] expose --as-current-user via GetRunFnRunner --- cmd/config/internal/commands/run-fns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config/internal/commands/run-fns.go b/cmd/config/internal/commands/run-fns.go index 3222a0e3b..a28e0b2b9 100644 --- a/cmd/config/internal/commands/run-fns.go +++ b/cmd/config/internal/commands/run-fns.go @@ -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 }