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(rds): Add missing tag updates #1897

Merged
merged 1 commit into from Oct 12, 2023

Conversation

MisterMX
Copy link
Collaborator

Description of your changes

Adds missing tag comparisons and updates to

  • rds.DBClusterParameterGroup
  • rds.DBParameterGroup
  • rds.DBInstance

Fixes #494

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

Simple tag adds and removals using the already existing examples.

Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <maximilian.blatt-extern@deutschebahn.com>
@@ -104,6 +107,11 @@ type custom struct {
kube client.Client
client svcsdkapi.RDSAPI
external *external

cache struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Have we done this anywhere else? I wonder if we have any guarantees that this will not be reused for other resources.

I think it is Ok..

Copy link
Collaborator Author

@MisterMX MisterMX Oct 12, 2023

Choose a reason for hiding this comment

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

Yes, I have done this multiple times. Since the hook is created during Connect which is called in every reconcile, we can be sure that there is always a unique hook (or external) for every reconcile.

@MisterMX MisterMX merged commit 227942a into crossplane-contrib:master Oct 12, 2023
11 checks passed
@github-actions
Copy link

Successfully created backport PR #1905 for release-0.44.

@MisterMX MisterMX deleted the fix/rds-tag-updates branch October 19, 2023 08:49
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.

RDS tags inconsistent with the resource created in the cloud during composition update
2 participants