Skip to content

Commit

Permalink
Explicitly set rbac.serviceAccount.name to match local.k8s_service_ac…
Browse files Browse the repository at this point in the history
…count_name in IRSA example
  • Loading branch information
brannondorsey committed Nov 6, 2020
1 parent 6323edc commit 1e04a4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/irsa/cluster-autoscaler-chart-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ awsRegion: us-west-2
rbac:
create: true
serviceAccount:
# This value should match local.k8s_service_account_name in locals.tf
name: cluster-autoscaler-aws-cluster-autoscaler-chart
annotations:
# This value should match the ARN of the role created by module.iam_assumable_role_admin in irsa.tf
eks.amazonaws.com/role-arn: "arn:aws:iam::<ACCOUNT ID>:role/cluster-autoscaler"

autoDiscovery:
Expand Down

0 comments on commit 1e04a4a

Please sign in to comment.