Skip to content

Commit

Permalink
Merge pull request #122 from voelzmo/enh/add-leader-election
Browse files Browse the repository at this point in the history
Add LeaderElectionID to main
  • Loading branch information
voelzmo authored Apr 19, 2023
2 parents 8dbb2f5 + 3eb4d26 commit 50fb207
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 @@ -65,6 +65,7 @@ func main() {
Scheme: scheme,
MetricsBindAddress: metricsAddr,
LeaderElection: enableLeaderElection,
LeaderElectionID: "hvpa-controller",
})
if err != nil {
setupLog.Error(err, "unable to start manager")
Expand Down

0 comments on commit 50fb207

Please sign in to comment.