Skip to content

Commit

Permalink
docs: fix irsa iam config snippet (#6011)
Browse files Browse the repository at this point in the history
  • Loading branch information
twelvemo committed May 7, 2024
1 parent ee36cbb commit 724420a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/k8s-plugins/guides/in-cluster-building.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,10 @@ Create a [web identity role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringLike": {
"oidc.eks.<region>.amazonaws.com/id/<oidc-provider-id>:sub": "system:serviceaccount:*:garden-in-cluster-builder"
},
"StringEquals": {
"oidc.eks.<region>.amazonaws.com/id/<oidc-provider-id>:sub": "system:serviceaccount:*:garden-in-cluster-builder",
"oidc.eks.<region>.amazonaws.com/id/<oidc-provider-id>:aud": "sts.amazonaws.com"
}
}
Expand Down

0 comments on commit 724420a

Please sign in to comment.