From 861743f313add89cf60991e0fc9e75a2ec61e94f Mon Sep 17 00:00:00 2001 From: Olha Yevtushenko Date: Fri, 13 Oct 2023 21:02:31 +0300 Subject: [PATCH] leader election: move from configmapleases to leases --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6732276d..b65094df 100644 --- a/main.go +++ b/main.go @@ -74,7 +74,7 @@ func main() { }), LeaderElection: enableLeaderElection, LeaderElectionID: "fcdfce80.io", - LeaderElectionResourceLock: "configmapsleases", + LeaderElectionResourceLock: "leases", Cache: cache.Options{ DefaultNamespaces: map[string]cache.Config{ watchNamespace: cache.Config{},