-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix pvc reclaimspace & keyrotation annotation filter
This commit adds a check in StorageClass event handler to filter out PVC not needed for Reconcile. - If SC has only ReclaimSpace annotation, PVCs with ReclaimSpace annotation will be skipped. - If SC has only KeyRotation annotation, PVCs with KeyRotation annotation will be skipped. - If SC has both the ReclaimSpace and KeyRotation annotations, PVCs without either annotation or having any one of them will be enqueued. Signed-off-by: Praveen M <[email protected]>
- Loading branch information
1 parent
ff53353
commit 0aeb5eb
Showing
1 changed file
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters