Skip to content

Commit 2aafecd

Browse files
asmacdoclaude
andcommitted
fix: wire IRSA role to EBS CSI driver addon
The IRSA IAM role for the EBS CSI driver was created in #3166 but never connected to the addon via service_account_role_arn. Without this, the controller pods fall back to IMDS for credentials, which fails with IMDSv2 (hop limit 1), causing CrashLoopBackOff. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 559d2c4 commit 2aafecd

File tree

1 file changed

+1
-0
lines changed
  • src/_nebari/stages/infrastructure/template/aws/modules/kubernetes

1 file changed

+1
-0
lines changed

src/_nebari/stages/infrastructure/template/aws/modules/kubernetes/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ resource "aws_eks_addon" "aws-ebs-csi-driver" {
151151
# required for Kubernetes v1.23+ on AWS
152152
addon_name = "aws-ebs-csi-driver"
153153
cluster_name = aws_eks_cluster.main.name
154+
service_account_role_arn = aws_iam_role.ebs_csi_driver.arn
154155
resolve_conflicts_on_create = "OVERWRITE"
155156
resolve_conflicts_on_update = "OVERWRITE"
156157

0 commit comments

Comments
 (0)