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

Commit 175bf91

Browse files
authored
Merge pull request #273 from noamran/271_uniqueID
🐛 Support running alongside other Cluster API pods in the same namespace with leader election enabled
2 parents eb4a7c8 + 10c99fd commit 175bf91

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
@@ -103,6 +103,7 @@ func main() {
103103
Scheme: scheme,
104104
MetricsBindAddress: metricsAddr,
105105
LeaderElection: enableLeaderElection,
106+
LeaderElectionID: "controller-leader-election-cabpk",
106107
Namespace: watchNamespace,
107108
SyncPeriod: &syncPeriod,
108109
})

0 commit comments

Comments
 (0)