Skip to content

Commit

Permalink
fix: Fixed example where VPC CNI permissions should apply to the `aws…
Browse files Browse the repository at this point in the history
…-node` account (#225)
  • Loading branch information
jbronn committed Apr 15, 2022
1 parent 5b792f2 commit 1fb1cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/iam-role-for-service-accounts-eks/main.tf
Expand Up @@ -255,7 +255,7 @@ module "vpc_cni_ipv4_irsa_role" {
oidc_providers = {
ex = {
provider_arn = module.eks.oidc_provider_arn
namespace_service_accounts = ["kube-system:aws-vpc-cni"]
namespace_service_accounts = ["kube-system:aws-node"]
}
}

Expand All @@ -272,7 +272,7 @@ module "vpc_cni_ipv6_irsa_role" {
oidc_providers = {
ex = {
provider_arn = module.eks.oidc_provider_arn
namespace_service_accounts = ["kube-system:aws-vpc-cni"]
namespace_service_accounts = ["kube-system:aws-node"]
}
}

Expand Down

0 comments on commit 1fb1cfc

Please sign in to comment.