Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor ClusterExtensionReconciler to improve conflict resolution an…
…d data consistency The error `the object has been modified; please apply your changes to the latest version and try again` occurs when we attempt to update a resource that has changed since it was initially fetched. These changes ensure that we fetch the current state of the resource just before issuing updates, rather than using the version obtained at the start of reconciliation. Additionally: - Deep copy the ClusterExtension object before reconciliation to preserve the original state. - Re-fetch the latest resource version before updating status and finalizers to handle conflicts from concurrent updates. Closes: operator-framework#1414
- Loading branch information