Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up PVCs that are not owned by VRG but present in protected pvcs…
… list A PVC that was not bound and picked up by the PVC selector, may change it's labels and hence not be protected in the future. Such PVCs are added to the ProtectedPVC list initially, but if they remain unbound and in the future are no longer selected by the label selector remain in the protectedPVC list. This commit addresses cleaning up of stale PVCs in the ProtectedPVC list comparing it to the PVCs to protect and clearing out stale PVCs from the ProtectedPVC list. Signed-off-by: Annaraya Narasagond <[email protected]> Signed-off-by: Annaraya Narasagond <[email protected]> Co-authored-by: Annaraya Narasagond <[email protected]>
- Loading branch information