diff --git a/pkg/KubeArmorController/main.go b/pkg/KubeArmorController/main.go index a72fcf1d53..5e02bead71 100644 --- a/pkg/KubeArmorController/main.go +++ b/pkg/KubeArmorController/main.go @@ -118,7 +118,6 @@ func main() { Scheme: mgr.GetScheme(), }).SetupWithManager(mgr); err != nil { setupLog.Error(err, "unable to create controller", "controller", "KubeArmorHostPolicy") - os.Exit(1) } setupLog.Info("Adding KubeArmor policy controller") @@ -138,7 +137,6 @@ func main() { Scheme: mgr.GetScheme(), }).SetupWithManager(mgr); err != nil { setupLog.Error(err, "unable to create controller", "controller", "KubeArmorClusterPolicy") - os.Exit(1) } //+kubebuilder:scaffold:builder