Use patch when updating the statuses of resources. #544
Labels
controller operations
Dealing with the reconcile-loop and other internal aspects of the various Solr operator controllers
Milestone
Currently the most confusing logging for users is:
This occurs when we try to update the SolrCloud status at the end of the reconcile loop.
Since we already have the before state and the after state, it should be easy to change this from an "Update" to a "Patch", which will make this error go away.
We do need to ensure that all fields have the correct annotations so that patching works as expected.
These annotations can be found here: https://book.kubebuilder.io/reference/markers/crd-validation.html
Note: while eventually we want these annotations to be correct across the whole of the CRD, this ticket only requires that they be correct for the status SubResources.
The text was updated successfully, but these errors were encountered: