Skip to content

Commit fa26433

Browse files
authored
Merge pull request #12 from adrianchiris/use-named-leader-elect
chore: use component name in the leader election id
2 parents 60488a2 + a15ff25 commit fa26433

File tree

1 file changed

+1
-1
lines changed
  • dpf-utils/cmd/ovnkubernetesresourceinjector

1 file changed

+1
-1
lines changed

dpf-utils/cmd/ovnkubernetesresourceinjector/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func main() {
112112
SyncPeriod: &syncPeriod,
113113
},
114114
LeaderElection: enableLeaderElection,
115-
LeaderElectionID: "8a3114c5.dpu.nvidia.com",
115+
LeaderElectionID: "ovn-kubernetes-resource-injector.dpu.nvidia.com",
116116
// LeaderElectionReleaseOnCancel defines if the leader should step down voluntarily
117117
// when the Manager ends. This requires the binary to immediately end when the
118118
// Manager is stopped, otherwise, this setting is unsafe. Setting this significantly

0 commit comments

Comments
 (0)