Skip to content

Commit

Permalink
fix(aws): load balancer controller service account annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Lefevre <[email protected]>
  • Loading branch information
ArchiFleKs committed Dec 15, 2020
1 parent 4084869 commit 99a3a4b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions modules/aws/aws-load-balancer-controller.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ locals {
image:
tag: "${local.aws-load-balancer-controller["version"]}"
clusterName: ${var.cluster-name}
rbac:
serviceAccount:
name: "${local.aws-load-balancer-controller["version"]}"
annotations:
eks.amazonaws.com/role-arn: "${local.aws-load-balancer-controller["enabled"] && local.aws-load-balancer-controller["create_iam_resources_irsa"] ? module.iam_assumable_role_aws-load-balancer-controller.this_iam_role_arn : ""}"
serviceAccount:
name: "${local.aws-load-balancer-controller["version"]}"
annotations:
eks.amazonaws.com/role-arn: "${local.aws-load-balancer-controller["enabled"] && local.aws-load-balancer-controller["create_iam_resources_irsa"] ? module.iam_assumable_role_aws-load-balancer-controller.this_iam_role_arn : ""}"
VALUES
}

Expand Down

0 comments on commit 99a3a4b

Please sign in to comment.