Merge pull request #55824 from pospispa/566-postpone-pvc-deletion-if-used-in-a-pod
Automatic merge from submit-queue (batch tested with PRs 55824, 53179). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
Postpone Deletion of a Persistent Volume Claim in case It Is Used by a Pod
**What this PR does / why we need it**:
to fix https://github.com/kubernetes/kubernetes/issues/45143
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes https://github.com/kubernetes/kubernetes/issues/45143
**Special notes for your reviewer**:
**Design:** https://github.com/kubernetes/community/blob/master/contributors/design-proposals/storage/postpone-pvc-deletion-if-used-in-a-pod.md
@msau42 @jsafrane @gnufied PTAL
**Release note**:
```release-note
PVC Finalizing Controller is introduced in order to prevent deletion of a PVC that is being used by a pod.
```
Showing
This diff is collapsed.
Click to expand it.
pkg/volume/util/finalizer.go
0 → 100644
Please
register
or
sign in
to comment