Skip to content

Conversation

pintonunes
Copy link

@pintonunes pintonunes commented Nov 12, 2024

Description of your changes

Today is pretty impossible to know when a managed resource is fully reconciled after an update.
On creation we can check the Ready and Sync conditions to be True but on updates we never know if what we are seeing is the actual or the previous state.

Imagine we are updating an RDS cluster (long running async update) and by looking to the CR we cant tell if the update is done, in progress or if the controller is actually dead.

This PR adds the observedGeneration to the Ready and Sync conditions in the main reconcile loop since it was introduced with #633

Related with:
crossplane/crossplane#4695
crossplane/crossplane#4655

I have:

Need help with this checklist? See the cheat sheet.

@pintonunes pintonunes requested a review from a team as a code owner November 12, 2024 15:23
@pintonunes pintonunes requested a review from turkenh November 12, 2024 15:23
@Xitric
Copy link

Xitric commented Jan 20, 2025

@pintonunes Hey, this looks great and like something we could really use in our team! But I guess the change set needs some test coverage, and that this may be the reason why the PR hasn't progressed yet @turkenh?

@pintonunes
Copy link
Author

Sorry for the long delay.. I will add this to the reconciler tests.

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