Skip to content

Commit cf29f37

Browse files
authored
Merge pull request #1492 from noamran/1488_uniqueID
🐛 Support running alongside other Cluster API pods in the same namespace with leader election enabled
2 parents e88948c + 4b41eff commit cf29f37

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
@@ -102,6 +102,7 @@ func main() {
102102
MetricsBindAddress: metricsAddr,
103103
MapperProvider: restmapper.NewCached,
104104
LeaderElection: enableLeaderElection,
105+
LeaderElectionID: "controller-leader-election-capi",
105106
Namespace: watchNamespace,
106107
SyncPeriod: &syncPeriod,
107108
})

0 commit comments

Comments
 (0)