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

chore: added observedGeneration to the Ready and Sync condition #789

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
Signed-off-by: Pedro Nunes <pedro.nunes@outsystems.com>
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