Allow defining unique election leader id

This commit is contained in:
Rolf Ahrenberg
2021-09-11 18:26:29 +03:00
committed by Yusuke Kuoka
parent e5b5ee6f1d
commit 5da808af96
3 changed files with 14 additions and 1 deletions

View File

@@ -8,6 +8,12 @@ replicaCount: 1
syncPeriod: 10m
controller:
enableLeaderElection: true
# Specifies the controller id for leader election.
# Must be unique if more than one controller installed.
#leaderElectionId: "actions-runner-controller"
# The controller tries its best not to repeat the duplicate GitHub API call
# within this duration.
# Defaults to syncPeriod - 10s.