Skip to content
New issue

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

Fix EKS Pod Identity endless reconciles with ResourceInUseException #1670

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

pintonunes
Copy link

Description of your changes

Fixes the provider using the wrong association id when status is not updated with the right association id.
If the association id is the initial stub one, we use the external name as association id.

Fixes #1437

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Signed-off-by: Pedro Nunes <[email protected]>
Signed-off-by: Pedro Nunes <[email protected]>
Signed-off-by: Pedro Nunes <[email protected]>
@chlunde
Copy link
Contributor

chlunde commented Feb 6, 2025

Nice! Could this be a problem everywhere stubs are used?

@pintonunes
Copy link
Author

Nice! Could this be a problem everywhere stubs are used?

I think it will depend on the AWS API. This one we need an assocId and the clusterName. And the tfId is not used.

Signed-off-by: Pedro Nunes <[email protected]>
Signed-off-by: Pedro Nunes <[email protected]>
@turkenf
Copy link
Collaborator

turkenf commented Feb 12, 2025

/test-examples="examples/eks/v1beta1/podidentityassociation.yaml"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: PodIdentityAssociation errors with ResourceInUseException: Association already exists
3 participants