--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage-wg-csi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-stora...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage-wg-csi/CAHSBy%3DGhFvLSYSTJHbR2XtqbNvm-E76ZT1%2Bj%2BQ6TefqiNkt0Pw%40mail.gmail.com.
Hi Chun-Yi,
This finalizer may not be what you are looking for. It only prevents the PVC from being deleted if there a snapshot actively being created from it.
Are you looking for a finalizer that will be preventing a PVC from being deleted as long as there is a snapshot created from it?
Thanks,
FAILED_PRECONDITION
error when there are snapshots associated with the deleting volume. According to the CSI spec here. However, I wonder if there exists a finalizer like this to prevent calling the VolumeDelete to check the backend storage's associated snapshots, the operation could be expensive if you have thousands of snapshots per volume. Hope this makes sense.