From 6b9acd8499049a5233e3a30071eba67aeb1b79bb Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Fri, 25 Oct 2024 15:52:23 +0200 Subject: [PATCH] Fix in-cluster leader election in `apinetlet` (#333) --- cmd/apinetlet/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/apinetlet/main.go b/cmd/apinetlet/main.go index ca5764d..30b4e50 100644 --- a/cmd/apinetlet/main.go +++ b/cmd/apinetlet/main.go @@ -129,7 +129,6 @@ func main() { }, HealthProbeBindAddress: probeAddr, LeaderElection: enableLeaderElection, - LeaderElectionConfig: apiNetCfg, LeaderElectionID: "fa89daf5.apinetlet.apinet.ironcore.dev", Cache: cache.Options{ DefaultNamespaces: cacheDefaultNamespaces,