Skip to content

Commit

Permalink
Merge pull request #1492 from noamran/1488_uniqueID
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 committed Oct 7, 2019
2 parents e88948c + 4b41eff commit cf29f37
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 @@ -102,6 +102,7 @@ func main() {
MetricsBindAddress: metricsAddr,
MapperProvider: restmapper.NewCached,
LeaderElection: enableLeaderElection,
LeaderElectionID: "controller-leader-election-capi",
Namespace: watchNamespace,
SyncPeriod: &syncPeriod,
})
Expand Down

0 comments on commit cf29f37

Please sign in to comment.