Skip to content

Add an AWS Region field to ResourceMetadata in CRDs status #1220

@a-hilaly

Description

@a-hilaly

Currently, when a resource is created without setting a region in the annotations, the controller uses either the namespace services.k8s.aws/default-region annotation or the --region flag used to start the controller.

If a second controller is running using a different --region flag or running in a different namespace (configured with a different default-region), it will try to reconcile these resources and create them in a different region.

We should be able to populate the CRs with the region in which they were created, ideally by injecting them in status.ACKResourceMetadata

Metadata

Metadata

Assignees

Labels

area/runtimeIssues or PRs as related to controller runtime, common reconciliation logic, etckind/enhancementCategorizes issue or PR as related to existing feature enhancements.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions