crossplane-runtime
crossplane-runtime copied to clipboard
Spec drift is not reported to user
What problem are you facing?
Currently, if I change a field in the spec and, for some reason, it didn't get reflected to the observed state, I have no idea about it if cloud API doesn't return an error, which happens in some cases where Update calls are selective about the fields to send.
How could Crossplane help solve your problem?
Observe method can compare the received object with Spec and if there is a drift, it can include that information into ExternalObservation (maybe with a bool) and then generic managed reconciler would set a condition to tell the user there is a drift. It could be a new condition or just a new type in the existing condition.
Mentioned as future consideration in https://github.com/crossplaneio/crossplane/pull/840
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.