Skip to content
This repository was archived by the owner on Sep 24, 2021. It is now read-only.

Commit 76b1136

Browse files
authored
Merge pull request #254 from noamran/LeaderElectionID
🐛 Support running alongside other Cluster API pods in the same namespace with leader election enabled
2 parents 1997997 + 9bcbf9e commit 76b1136

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func main() {
6363
Scheme: myscheme,
6464
MetricsBindAddress: metricsAddr,
6565
LeaderElection: enableLeaderElection,
66+
LeaderElectionID: "controller-leader-election-capd",
6667
SyncPeriod: &syncPeriod,
6768
})
6869
if err != nil {

0 commit comments

Comments
 (0)