- Newest
- Most votes
- Most comments
I'm not familiar with eksctl. But, you can research IRSA(IAM Role for Service Account) to solve your problem.
You will need to make sure that you are using a supported aws-sdk version for your application to leverage the IRSA feature. You can find out the list of supported aws-sdk versions here: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-minimum-sdk.html
If you are using the support aws-sdk version and are still facing issues, it could be due to the missing aws-java-sdk-sts dependency in your application. Please review this github issue comment and see if the workaround resolves your issue: https://github.com/aws/aws-sdk-java/issues/2283#issuecomment-854356994
Have you tried annotating the service account?
annotations: eks.amazonaws.com/role-arn: arn:aws:iam::<some_account>:role/<irsa_role>
answered 5 years ago
Relevant content
- AWS OFFICIALUpdated 2 years ago

I have done that. I have
OIDCon my cluster, created roles and policies, associated that as a service account.