Skip to content

Commit 1601f66

Browse files
committed
Tiny improvements
1 parent d61015a commit 1601f66

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

templates/cmd/controller/main.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func main() {
9292
Host: host,
9393
MetricsBindAddress: ackCfg.MetricsAddr,
9494
LeaderElection: ackCfg.EnableLeaderElection,
95-
LeaderElectionID: awsServiceAPIGroup,
95+
LeaderElectionID: "ack-"+awsServiceAPIGroup,
9696
Namespace: ackCfg.WatchNamespace,
9797
LeaderElectionNamespace: ackCfg.LeaderElectionNamespace,
9898
})

templates/helm/values.yaml.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ serviceAccount:
122122
annotations: {}
123123
# eks.amazonaws.com/role-arn: arn:aws:iam::AWS_ACCOUNT_ID:role/IAM_ROLE_NAME
124124

125-
# leader election configurations
125+
# leaderElection configurations
126+
# See https://kubernetes.io/docs/concepts/architecture/leases/#leader-election
126127
leaderElection:
127128
# Enables controller leader election
128129
enabled: false

0 commit comments

Comments
 (0)