Skip to content

Commit

Permalink
Merge pull request #2057 from shiftstack/issue2054
Browse files Browse the repository at this point in the history
πŸ› Fix panic executing manager without valid kube context
  • Loading branch information
k8s-ci-robot authored May 6, 2024
2 parents 7b0635f + 568cee9 commit 65b360e
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 65b360e

Please sign in to comment.