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(dbinstance): remove DeleteAutomatedBackups from isUpToDate-check #1750

Conversation

wotolom
Copy link
Contributor

@wotolom wotolom commented May 3, 2023

Description of your changes

The parameter DeleteAutomatedBackups causes an update-loop, if set (true or false) in the claim.

This change adds it to the ignored fields in isUpToDate. The parameter is only relevant on delete. (AWS delete-db-instance)

Also small change: there is no need to run through isUpToDate while the DB is in deleting state/status.

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

Manually with db-instance example

Signed-off-by: Charel Baum (external expert on behalf of DB Netz AG) <[email protected]>
@haarchri haarchri merged commit 37542c0 into crossplane-contrib:master May 4, 2023
@wotolom wotolom deleted the dbinstance-deletautobackup-updateloop-fix branch May 4, 2023 10:08
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.

2 participants