container-object-storage-interface-provisioner-sidecar
container-object-storage-interface-provisioner-sidecar copied to clipboard
Fix reconciliation logic for existing and deleted objects
This PR addresses two cases:
-
Controller Restarts: When the controller restarts, it does not handle deletions for removed objects. Specifically, when an object with a deletion timestamp is passed into the Add() method, the deletion process was not handled correctly.
-
Recreation of Objects: The recreation of objects is not functioning as expected. For example, when an object is created, deleted, and then created again. In this scenario, the object may enter the Update method, where the creation process was not being handled properly.