cloud-provider-aws icon indicating copy to clipboard operation
cloud-provider-aws copied to clipboard

provide an option to use `eks.amazonaws.com/role-arn` annotation instead of `eks.amazonaws.com/ecr-role-arn`

Open bear-san opened this issue 3 months ago • 6 comments

What type of PR is this? /kind feature

What this PR does / why we need it:

  • in the default, Pod identity webhook injects project token to annotated eks.amazonaws.com/role-arn ref: https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/pkg/annotations.go#L21
  • If user wants to project token for only pull image, still must specify both of eks.amazonaws.com/role-arn and eks.amazonaws.com/ecr-role-arn

Which issue(s) this PR fixes: Fixes #1264

Does this PR introduce a user-facing change?:

added to new option to determine IAM role for image pull.

bear-san avatar Sep 28 '25 13:09 bear-san

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign bridgetkromhout for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Sep 28 '25 13:09 k8s-ci-robot

Welcome @bear-san!

It looks like this is your first PR to kubernetes/cloud-provider-aws 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/cloud-provider-aws has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. :smiley:

k8s-ci-robot avatar Sep 28 '25 13:09 k8s-ci-robot

Hi @bear-san. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Sep 28 '25 13:09 k8s-ci-robot

/triage accepted /ok-to-test

kmala avatar Oct 17 '25 20:10 kmala

/retest

bear-san avatar Oct 18 '25 11:10 bear-san

/lgtm

kmala avatar Oct 20 '25 22:10 kmala