I had trouble deleting a PVC. I made sure that the PVC was not in use anymore. The PVC would not delete, the status showed “Terminating”.
The solution, for me: change the “finalizers” metadata to null. Check out how I did it:
[root@ocp1-master01 migration]# kubectl patch pvc file-api-claim -p '{"metadata":{"finalizers":null}}' -n zen persistentvolumeclaim/file-api-claim patched [root@ocp1-master01 migration]#
After applying this patch the PVC successfully deleted.