PSKP
PSKP

Reputation: 1365

Pod is using node group role instead of service account in aws eks

I am using a service account with a role assigned to it using OIDC. I opened shell in the pod and checked current role,

enter image description here

but my service is doing the same thing but it is using node role,

enter image description here

Versions of Java SDK

Upvotes: 4

Views: 1913

Answers (1)

gohm'c
gohm'c

Reputation: 15490

The containers in your pods must use an AWS SDK version that supports assuming an IAM role via an OIDC web identity token file.

Check if you meet the minimum requirement for boto3 is 1.9.220, for botocore is 1.12.200.

Upvotes: 3

Related Questions