Skip to content

Conversation

ridik-il
Copy link

@ridik-il ridik-il commented Aug 6, 2025

Description of your changes

This PR extends the tag reconciliation logic for RDS DBInstances.
Previously, the reconciler always ignored tags with the aws: prefix. Now, users can configure additional prefixes to ignore via the new tagIgnorePrefixes field in CustomDBInstanceParameters.

This helps prevent unnecessary updates caused by system-generated or external tags (e.g., aws:, c7n:).

Changes:
Added TagIgnorePrefixes field to CustomDBInstanceParameters and CRD schema.

Updated reconciliation logic to append user-provided prefixes to the default aws: prefix.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Unit tests added and run via make reviewable test.

Verified CRD generation and behavior of tag diff logic against mocked AWS responses.

Manually tested in test envs

@ridik-il ridik-il changed the title Feature/rds tags ignore and read replicas Feature/rds tags ignore Aug 6, 2025
@ridik-il ridik-il force-pushed the feature/rds-tags-ignore-and-read-replicas branch 5 times, most recently from e68c04e to 3fcfd88 Compare August 8, 2025 14:23
- Adds TagIgnorePrefixes to DBInstance spec
- Filters out tags with ignored prefixes from diff logic
- Adds unit test coverage
- Builds on top of read replica support

Signed-off-by: Riyad Ilyasov <[email protected]>
@ridik-il ridik-il force-pushed the feature/rds-tags-ignore-and-read-replicas branch from 3fcfd88 to 16c26ab Compare September 1, 2025 12:22
@ridik-il ridik-il closed this Sep 1, 2025
@ridik-il
Copy link
Author

ridik-il commented Sep 1, 2025

opened another one

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.

1 participant