Files
velero/pkg/constant/constant.go
Daniel Jiang dc02caf2b0 Skip patching the PV in finalization for failed operation
This commit makes change in restore finalizer controller, to make it
check the status in item operation of a PVC before patch the PV that is
bound to it.  If the operation is not successful it will skip patching
the PV.

Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
2025-01-09 01:42:50 +08:00

25 lines
1015 B
Go

package constant
const (
ControllerBackup = "backup"
ControllerBackupOperations = "backup-operations"
ControllerBackupDeletion = "backup-deletion"
ControllerBackupFinalizer = "backup-finalizer"
ControllerBackupRepo = "backup-repo"
ControllerBackupStorageLocation = "backup-storage-location"
ControllerBackupSync = "backup-sync"
ControllerDataDownload = "data-download"
ControllerDataUpload = "data-upload"
ControllerDownloadRequest = "download-request"
ControllerGarbageCollection = "gc"
ControllerPodVolumeBackup = "pod-volume-backup"
ControllerPodVolumeRestore = "pod-volume-restore"
ControllerRestore = "restore"
ControllerRestoreOperations = "restore-operations"
ControllerSchedule = "schedule"
ControllerServerStatusRequest = "server-status-request"
ControllerRestoreFinalizer = "restore-finalizer"
PluginCSIPVCRestoreRIA = "velero.io/csi-pvc-restorer"
)