velero/pkg
Xun Jiang a69bd8b1f3 Remove VolumeSnapshot created during backup, when the VolumeSnapshotClass's DeletionPolicy is set to Delete.
1. Delete VolumeSnapshot directly when DeletionPolicy set to Retain.
2. Change VolumeSnapshotContent's DeletionPolicy to Retain, then delete VolumeSnapshot. After that delete VolumeSnapshotContent and change VSC DeletionPolicy to Delete back, then re-create the VolumeSnapshotContent.

Signed-off-by: Xun Jiang <jxun@vmware.com>
2022-05-05 18:30:59 +08:00
..
apis/velero/v1 Merge pull request #4655 from ywk253100/220214_pod_volume_restore 2022-05-05 10:33:41 +08:00
archive fix: delete empty backups 2022-04-12 13:13:56 +03:00
backup Merge pull request #4818 from blackpiglet/2499-add-metric-for-csi-snapshot 2022-04-15 16:55:37 +08:00
builder Convert PodVolumeBackup to Kubebuilder framework 2022-01-26 20:09:24 -08:00
buildinfo Allow registry to be configured at build time 2021-07-14 15:42:53 -04:00
client Updated uninstall to remove both v1beta1 and v1 CRDs if present (#3997) 2021-07-29 22:01:13 +08:00
cmd Make waiting VolumeSnapshot to ready process parallel. 2022-05-05 14:32:55 +08:00
controller Remove VolumeSnapshot created during backup, when the VolumeSnapshotClass's DeletionPolicy is set to Delete. 2022-05-05 18:30:59 +08:00
discovery fix EnableAPIGroupersions output log format (#2882) 2020-09-01 13:50:44 -04:00
features Add features package (#1849) 2019-09-18 10:57:04 -06:00
generated feat: migrate kubebuilder from v2 to v3 2021-11-23 19:32:19 +08:00
install Fix labels removed in ObjectMeta 2022-02-24 10:25:49 +01:00
kuberesource Correct copyright comment and string compare 2022-03-21 12:01:26 -04:00
label Bug fix: Calculate label using backup name for CSI objects (#2510) 2020-05-07 11:56:13 -07:00
metrics Modify CSI VolumeSnapshot metric related code. 2022-04-23 12:59:56 +08:00
persistence Make the vsc created by backup sync controller deletable 2022-04-19 15:06:59 +08:00
plugin fix: use the right kind in getRestartableProcess logger 2022-04-11 16:46:18 +03:00
podexec Modify according to comments. 2022-02-28 19:28:17 +08:00
restic Refactor backup deletion controller based on kubebuilder 2022-04-27 17:00:54 +08:00
restore Merge pull request #4769 from jibutech/4754-fix 2022-04-19 11:54:30 -04:00
test Refactor backup deletion controller based on kubebuilder 2022-04-27 17:00:54 +08:00
util Merge pull request #4887 from reasonerjt/delete-orphan-vs 2022-05-05 11:27:44 +08:00
volume Adds <backup-name>-itemsnapshots.gz file to backup (when provided). (#4429) 2021-12-13 14:47:50 -05:00