Skip to content

ACK ECR does not update Repository status when adopted #2693

@Zurvarian

Description

@Zurvarian

Describe the bug
When using ACK ECR to create repositories, if adopting and existing repository, the CR is missing status fields like ackResourceMetadata or repositoryURI

Steps to reproduce
Create a new Repository with the annotation: services.k8s.aws/deletion-policy: retain and wait until it is Synced.
Delete the create Repository, the ECR counterpart should stay in place.
Re-Create the same Repository adding the annotation: services.k8s.aws/adoption-policy: adopt-or-create and wait until it Synced.

Expected outcome
The CR should have the same status fields as it would have been created anew.

Environment
N/A

  • Kubernetes version 1.33
  • Using EKS (yes/no), if so version? Yes, eks.21
  • AWS service targeted (S3, RDS, etc.) ECR
  • ACK ECR Controller v1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/critical-urgentHighest priority. Must be actively worked on as someone's top priority right now.service/ecrIndicates issues or PRs that are related to ecr-controller.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions