Skip to content

Commit 3f145a9

Browse files
committed
Setting a unique LeaderElectionID
1 parent feb3580 commit 3f145a9

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
@@ -132,6 +132,7 @@ func main() {
132132
Scheme: scheme,
133133
MetricsBindAddress: metricsAddr,
134134
LeaderElection: enableLeaderElection,
135+
LeaderElectionID: "controller-leader-election-capa",
135136
SyncPeriod: &syncPeriod,
136137
Namespace: watchNamespace,
137138
EventBroadcaster: broadcaster,

0 commit comments

Comments
 (0)