Skip to content

Commit

Permalink
chore: entries: include odr iam role
Browse files Browse the repository at this point in the history
  • Loading branch information
fidiego committed Nov 21, 2024
1 parent bf2e448 commit 526f695
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ module "eks" {
}
}
}
},
# TODO(fd): we should have this passed in as an input in case this ever changes
"odr-${local.cluster_name}" = {
principal_arn = var.runner_install_role
kubernetes_groups = [] # empty because they are all system:admin and those are replaced by AmazonEKSClusterAdminPolicy
policy_associations = {
cluster_admin = {
policy_arn = module.odr_iam_role.iam_role_arn
access_scope = {
type = "cluster"
}
}
}
}

}
Expand Down

0 comments on commit 526f695

Please sign in to comment.