Skip to content

EKS: Adopting Pod Identity Association #2643

@JFenstermacher

Description

@JFenstermacher

Describe the bug
I don't think PodIdentityAssociation(s) are adoptable

Steps to reproduce
I have tried all manner of adoption-fields and it doesn't work.

I have tried all the following:

No adoption-fields just adopt-or-create

annotations:
    services.k8s.aws/adoption-policy: "adopt-or-create"

All manners of adoption-fields

annotations:
    services.k8s.aws/adoption-policy: "adopt"
    services.k8s.aws/adoption-fields: | 
        {
          "clusterName": "***",
          "associationId": "***"
        }

I know clusterName is minimally required, because a error saying it's required appears. All other configurations, and I have tried plenty, don't seem to work.

I have tried adding, name and namespace that appears in the error message for reconciler.

I have tried adding all the fields that are present in a aws eks describe-pod-identity-association request to the adoption-fields.

I have tried adding combinations of the both of them.

Nothing works.

Every single other field changes results in an error of:

adopted resource not found

Expected outcome

I expect that some configuration will allow the adoption of Pod Identity Associations.

Further, I expect your documentation to outline what are the required fields per resource, if it isn't obvious.

Environment

  • 1.30
  • EKS 1.30
  • EKS (Pod Identity Assocation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions