Skip to content

Commit eca490f

Browse files
committed
Tiny improvements
1 parent d61015a commit eca490f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ 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
126126
leaderElection:
127127
# Enables controller leader election
128128
enabled: false

0 commit comments

Comments
 (0)