Skip to content

[runtime] Exclude default values and empty fields during resource adoption when using the annotation approach #2230

@adriananeci

Description

@adriananeci

Is your feature request related to a problem?

When adopting an S3 bucket using the annotation based mechanism(services.k8s.aws/adoption-fields and services.k8s.aws/adoption-policy: adopt annotations), the ACK object's spec is populated with all available options even if many of them are empty or have the default values.

Is it possible to populate the spec with only non-default and non-empty fields during adoption?

Describe the solution you'd like
A description of what you want to happen.

Describe alternatives you've considered
A description of any alternative solutions or features you've considered.

Metadata

Metadata

Assignees

Labels

area/adoption-annotationIssues or PRs related to ACK Adoption by Annotation featureservice/s3Indicates issues or PRs that are related to s3-controller.target/q1-2025Issues scheduled for Q1 in 2025

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions