Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(s3 bucket): Ignore AWS system tags #2018

Conversation

teeverr
Copy link

@teeverr teeverr commented Mar 22, 2024

Description of your changes

Ignore s3 bucket systemd tags(with prefix aws:) on observed resource side because these cannot be updated/deleted, otherwise it cause an error

Example: the controller takes control over existing s3 bucket which has systemd tag(s) and tries to reconcile tag set with desired state which doesn't include tags at all or regular tags only. As result the controller gets an error due it is impossible to delete system tag

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

  • manual testing
  • unit tests

Signed-off-by: Kirill Sushkov (teeverr) <kirill.sushkov@swisscom.com>
Copy link
Collaborator

@MisterMX MisterMX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you very much @teeverr!

@MisterMX MisterMX merged commit 277b8e0 into crossplane-contrib:master Mar 25, 2024
9 checks passed
Copy link

Successfully created backport PR #2019 for release-0.47.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants