-
Notifications
You must be signed in to change notification settings - Fork 620
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
Improve gotk reconcile helmrelease
readiness check
#215
Comments
See also #217 I think the current check would still have a race condition even if the helm-controller reset the Ready condition on each reconciliation, since it doesn't check that the reconcilAt annotation has actually resulted in a new reconciliation. |
The race condition could be solved for all the toolkit objects if we check the |
I do not think that annotating a resource causes a generation bump for custom resources. See the in-code comments in kubernetes-sigs/controller-runtime#553 |
Ah I was looking at the Deployment kind but that's the exception. |
Implement source suspension
As the
helm-controller
does not reset theReady==True
condition without a state change, the current readiness check for the command may result in a false positive.To prevent this, the
Status
fields in theHelmRelease
can be consulted to ensure reported state is from after the reconciliation request was made (viaStatus.LastObservedTime
).The text was updated successfully, but these errors were encountered: