Closed
Description
I have a use case where I do not want PVs to be deleted unless a certain annotation is set with a value of true.
This PR kubernetes-sigs/sig-storage-lib-external-provisioner#3 added the DeletionGuard interface so we should be able to use that.
I know that my use case is pretty specific but I figured the community would have some ideas on how to implement this in a generic way.
I currently have my CSI check the annotation when told to delete the volume and error if the annotation isn't set to true but doing it in the CSI seems wrong.