From 1e04a4a3498626fd059c7f3d27b0e04ae25f53b3 Mon Sep 17 00:00:00 2001 From: Brannon Dorsey Date: Fri, 6 Nov 2020 14:34:39 -0500 Subject: [PATCH] Explicitly set rbac.serviceAccount.name to match local.k8s_service_account_name in IRSA example --- examples/irsa/cluster-autoscaler-chart-values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/irsa/cluster-autoscaler-chart-values.yaml b/examples/irsa/cluster-autoscaler-chart-values.yaml index 03f411f373..ccde4365a5 100644 --- a/examples/irsa/cluster-autoscaler-chart-values.yaml +++ b/examples/irsa/cluster-autoscaler-chart-values.yaml @@ -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:::role/cluster-autoscaler" autoDiscovery: