From 3eb4d26125e59d8e04e07942c43055e966efe836 Mon Sep 17 00:00:00 2001 From: Marco Voelz Date: Fri, 11 Nov 2022 16:20:36 +0100 Subject: [PATCH] Add LeaderElectionID to main --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index d771f6d3..dc911136 100644 --- a/main.go +++ b/main.go @@ -65,6 +65,7 @@ func main() { Scheme: scheme, MetricsBindAddress: metricsAddr, LeaderElection: enableLeaderElection, + LeaderElectionID: "hvpa-controller", }) if err != nil { setupLog.Error(err, "unable to start manager")