diff --git a/main.go b/main.go index 7920ccf2..6a5bdd14 100644 --- a/main.go +++ b/main.go @@ -115,7 +115,7 @@ func main() { // the manager stops, so would be fine to enable this option. However, // if you are doing or is intended to do any operation such as perform cleanups // after the manager stops then its usage might be unsafe. - // LeaderElectionReleaseOnCancel: true, + LeaderElectionReleaseOnCancel: true, }) if err != nil { setupLog.Error(err, "unable to start manager")