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 }