Skip to content

Revisit computeStatus to properly handle lastHandledReconcileAt

Francois Eleouet requested to merge fe/check-lastHandledReconcileAt into main

Flux objects should not be considered as ready if lastHandledReconcileAt does not match requestAt, this case was not properly handled for now.

In order to properly handle that case, current code was deserving some refactoring, as we were for example checking if observedGeneration was matching generation in 3 different places.

The code has been revisited to have a more linear / readable structure.

Closes: #40 (closed)

Merge request reports