Skip to content

Commit

Permalink
Flags: Don't add namespace flag as we don't make use of it yet
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Sep 11, 2024
1 parent 02f0c2e commit 1d7d092
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/icinga-kubernetes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1d7d092

Please sign in to comment.