diff --git a/cmd/main.go b/cmd/main.go index 8837766..9fc416b 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -100,6 +100,7 @@ func main() { if err = indexing.SetupIndexForPod(ctx, mgr); err != nil { setupLog.Error(err, "unable to create index for pod") + os.Exit(1) } if err = (&controller.PodReconciler{