diff --git a/cmd/main.go b/cmd/main.go index 4bcabd041..5a255e1fa 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -77,6 +77,10 @@ func main() { "Enabling this will ensure there is only one active controller manager.") flag.BoolVar(&ver, "version", false, "Print version") + if env := os.Getenv("ARGS"); env != "" { + os.Args = append(os.Args, env) + } + opts := zap.Options{ Development: true, }