We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how do we pass the role arn for the service account? annotation?
docs list duplicate key too
is one of those meant to show how to pass a role 🤞
The text was updated successfully, but these errors were encountered:
You can do this by setting the following in values.yaml
serviceAccount: annotations: eks.amazonaws.com/role-arn: arn:aws:iam::***YOUR AWS ACCOUNT NUMBER***:role/***NAME OF YOUR ROLE***
The role needs to trust the OIDC issuer for your cluster - put this into the role's trust relationship policy:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowFromOIDC", "Effect": "Allow", "Principal": { "Federated": "arn:aws:iam::***YOUR AWS ACCOUNT NUMBER***:oidc-provider/oidc.eks.***REGION***.amazonaws.com/id/***ID***" }, "Action": "sts:AssumeRoleWithWebIdentity", "Condition": { "StringEquals": { "oidc.eks.***REGION***.amazonaws.com/id/***ID***:sub": "system:serviceaccount:***KUBERNETES NAMESPACE***:***SERVICE ACCOUNT NAME***" } } } ] }
Sorry, something went wrong.
serviceAccount.annotations
This just tripped me up, the values.yaml has
serviceAccount: create: true annotations: {} name: ... annotations: {} # iam.amazonaws.com/role: arn:aws:iam::123456789012:role/role-for-fluent-bit
Suggesting the role goes in annotations rather than serviceAccount.annotations
annotations
aws-for-fluent-bit
hossain-rayhan
PettitWesley
Successfully merging a pull request may close this issue.
how do we pass the role arn for the service account? annotation?
docs list duplicate key too
is one of those meant to show how to pass a role 🤞
The text was updated successfully, but these errors were encountered: