mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-06 05:25:40 +00:00
Delete CSI volumesnapshots created as part of a backup in its deletion (#2411)
* delete CSI volumesnapshots in backup on backup delete Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * set vsc deletionpolicy to delete prior to vs deletion Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * add more unit tests Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * add change log Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * passes build need to pass unit tests Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * remove GetNamespacesInBackup Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * fix unit tests Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * check feature flag instead of nil check Signed-off-by: Ashish Amarnath <ashisham@vmware.com> * cleanup Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
1
changelogs/unreleased/2411-ashish-amarnath
Normal file
1
changelogs/unreleased/2411-ashish-amarnath
Normal file
@@ -0,0 +1 @@
|
||||
during backup deletion also delete CSI volumesnapshots that were created as a part of the backup
|
||||
Reference in New Issue
Block a user