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

Commit

Permalink
Merge pull request #254 from noamran/LeaderElectionID
Browse files Browse the repository at this point in the history
🐛 Support running alongside other Cluster API pods in the same namespace with leader election enabled
  • Loading branch information
k8s-ci-robot authored Oct 7, 2019
2 parents 1997997 + 9bcbf9e commit 76b1136
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func main() {
Scheme: myscheme,
MetricsBindAddress: metricsAddr,
LeaderElection: enableLeaderElection,
LeaderElectionID: "controller-leader-election-capd",
SyncPeriod: &syncPeriod,
})
if err != nil {
Expand Down

0 comments on commit 76b1136

Please sign in to comment.