Skip to content

Commit

Permalink
Fix panic executing manager without valid kube context
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbooth committed May 3, 2024
1 parent 7b0635f commit 568cee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func main() {
cfg, err := config.GetConfigWithContext(os.Getenv("KUBECONTEXT"))
if err != nil {
setupLog.Error(err, "unable to get kubeconfig")
os.Exit(1)
}
cfg.QPS = restConfigQPS
cfg.Burst = restConfigBurst
Expand Down

0 comments on commit 568cee9

Please sign in to comment.