diff --git a/cmd/icinga-kubernetes/main.go b/cmd/icinga-kubernetes/main.go index 68b85d1..813a766 100644 --- a/cmd/icinga-kubernetes/main.go +++ b/cmd/icinga-kubernetes/main.go @@ -51,6 +51,7 @@ func main() { overrides := kclientcmd.ConfigOverrides{} kflags := kclientcmd.RecommendedConfigOverrideFlags("") + kflags.ContextOverrideFlags.Namespace = kclientcmd.FlagInfo{} kclientcmd.BindOverrideFlags(&overrides, pflag.CommandLine, kflags) pflag.Parse()