mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 05:46:37 +00:00
Modify CSI related DeleteItemActions.
Remove the VS DIA. Modify the VSC DIA: create then delete the VSC. Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
@@ -138,10 +138,6 @@ func NewCommand(f client.Factory) *cobra.Command {
|
||||
"velero.io/dataupload-delete",
|
||||
newDateUploadDeleteItemAction(f),
|
||||
).
|
||||
RegisterDeleteItemAction(
|
||||
"velero.io/csi-volumesnapshot-delete",
|
||||
newVolumeSnapshotDeleteItemAction(f),
|
||||
).
|
||||
RegisterDeleteItemAction(
|
||||
"velero.io/csi-volumesnapshotcontent-delete",
|
||||
newVolumeSnapshotContentDeleteItemAction(f),
|
||||
@@ -432,10 +428,6 @@ func newVolumeSnapshotClassBackupItemAction(logger logrus.FieldLogger) (any, err
|
||||
|
||||
// DeleteItemAction plugins
|
||||
|
||||
func newVolumeSnapshotDeleteItemAction(f client.Factory) plugincommon.HandlerInitializer {
|
||||
return dia.NewVolumeSnapshotDeleteItemAction(f)
|
||||
}
|
||||
|
||||
func newVolumeSnapshotContentDeleteItemAction(f client.Factory) plugincommon.HandlerInitializer {
|
||||
return dia.NewVolumeSnapshotContentDeleteItemAction(f)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user