mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-25 17:34:17 +00:00
Merge pull request #8591 from reasonerjt/finalize-async-op
Skip patching the PV in finalization for failed operation
This commit is contained in:
@@ -21,6 +21,7 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
apiextensions "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/constant"
|
||||
"github.com/vmware-tanzu/velero/pkg/datamover"
|
||||
|
||||
dia "github.com/vmware-tanzu/velero/internal/delete/actions/csi"
|
||||
@@ -162,7 +163,7 @@ func NewCommand(f client.Factory) *cobra.Command {
|
||||
newVolumeSnapshotClassBackupItemAction,
|
||||
).
|
||||
RegisterRestoreItemActionV2(
|
||||
"velero.io/csi-pvc-restorer",
|
||||
constant.PluginCSIPVCRestoreRIA,
|
||||
newPvcRestoreItemAction(f),
|
||||
).
|
||||
RegisterRestoreItemActionV2(
|
||||
|
||||
Reference in New Issue
Block a user