Add Delete Volume Finalizer
This PR adds Finalizer on the snapshot source PVC to prevent it from being deleted when a snapshot is being created from it.
This commit is contained in:
@@ -25,7 +25,7 @@ rules:
|
||||
verbs: ["get", "list", "watch"]
|
||||
- apiGroups: [""]
|
||||
resources: ["persistentvolumeclaims"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
verbs: ["get", "list", "watch", "update"]
|
||||
- apiGroups: ["storage.k8s.io"]
|
||||
resources: ["storageclasses"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
|
Reference in New Issue
Block a user