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

Time:11-19

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

  • aws-java-sdk-core:1.11.505

CodePudding user response:

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.

  • Related