mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
fix(pvc): fixing stale ZFSVolume CR issue when deleting pending PVC
PVC will not bound if there are wrong parameters/poolname in the storageclass, the ZFSVolume CR will be still created and will remain in Pending State, deletion of the PVC will delete PVC and since PVC is not bound, ZFS-LocalPV driver will not get the delete call and will leave the ZFSVolume CR hanging there. Reverting the behavior introduced in https://github.com/openebs/zfs-localpv/pull/121, Now PVC will be bound but still ZFSVolume will be in Pending state until the volume is created. Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
0e2223985e
commit
45015bf063
4 changed files with 8 additions and 27 deletions
1
changelogs/unreleased/145-pawanpraka1
Normal file
1
changelogs/unreleased/145-pawanpraka1
Normal file
|
|
@ -0,0 +1 @@
|
|||
fixing stale ZFSVolume resource issue when deleting the pvc in pending state
|
||||
Loading…
Add table
Add a link
Reference in a new issue