Skip to content

Commit 85101d0

Browse files
committed
feat: switch to IRSAv2/pod identity
1 parent 186cea5 commit 85101d0

File tree

1 file changed

+2
-8
lines changed
  • eks/terraform/modules/cluster

1 file changed

+2
-8
lines changed

eks/terraform/modules/cluster/main.tf

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -735,21 +735,15 @@ locals {
735735
replicaCount : 2,
736736
rbac : {
737737
serviceAccount : {
738-
name : local.cluster_autoscaler_service_account,
739-
annotations : {
740-
"eks.amazonaws.com/role-arn" : try(module.cluster_autoscaler_irsa_role.iam_role_arn, "")
741-
}
738+
name : local.cluster_autoscaler_service_account
742739
}
743740
}
744741
})
745742

746743
load_balancer_controller_helm_values = yamlencode({
747744
clusterName : var.cluster_name,
748745
serviceAccount : {
749-
name : local.loadbalancer_controller_service_account,
750-
annotations : {
751-
"eks.amazonaws.com/role-arn" : try(module.loadbalancer_controller_irsa_role.iam_role_arn, "")
752-
}
746+
name : local.loadbalancer_controller_service_account
753747
},
754748
defaultTags : var.common_tags
755749
})

0 commit comments

Comments
 (0)