diff --git a/bundle/manifests/oadp-operator.clusterserviceversion.yaml b/bundle/manifests/oadp-operator.clusterserviceversion.yaml index 5a9d17a9c2..e5b2670f84 100644 --- a/bundle/manifests/oadp-operator.clusterserviceversion.yaml +++ b/bundle/manifests/oadp-operator.clusterserviceversion.yaml @@ -843,6 +843,22 @@ spec: - get - patch - update + - apiGroups: + - velero.io + resources: + - datadownloads + verbs: + - get + - list + - watch + - apiGroups: + - velero.io + resources: + - datauploads + verbs: + - get + - list + - watch - apiGroups: - velero.io resources: @@ -855,6 +871,22 @@ spec: - patch - update - watch + - apiGroups: + - velero.io + resources: + - podvolumebackups + verbs: + - get + - list + - watch + - apiGroups: + - velero.io + resources: + - podvolumerestores + verbs: + - get + - list + - watch - apiGroups: - velero.io resources: diff --git a/bundle/manifests/oadp.openshift.io_nonadminbackups.yaml b/bundle/manifests/oadp.openshift.io_nonadminbackups.yaml index d0150c88c9..502280cff8 100644 --- a/bundle/manifests/oadp.openshift.io_nonadminbackups.yaml +++ b/bundle/manifests/oadp.openshift.io_nonadminbackups.yaml @@ -601,6 +601,72 @@ spec: - type type: object type: array + dataMoverDataUploads: + description: DataMoverDataUploads contains information of the related + Velero DataUpload objects. + properties: + accepted: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Accepted + type: integer + canceled: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Canceled + type: integer + canceling: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Canceling + type: integer + completed: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Completed + type: integer + failed: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Failed + type: integer + inProgress: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase InProgress + type: integer + new: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase New + type: integer + prepared: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Prepared + type: integer + total: + description: number of DataUploads related to this NonAdminBackup's + Backup + type: integer + type: object + fileSystemPodVolumeBackups: + description: FileSystemPodVolumeBackups contains information of the + related Velero PodVolumeBackup objects. + properties: + completed: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase Completed + type: integer + failed: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase Failed + type: integer + inProgress: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase InProgress + type: integer + new: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase New + type: integer + total: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup + type: integer + type: object phase: description: phase is a simple one high-level summary of the lifecycle of an NonAdminBackup. diff --git a/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml b/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml index 9102c600c5..49898c7dc9 100644 --- a/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml +++ b/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml @@ -534,6 +534,72 @@ spec: - type type: object type: array + dataMoverDataDownloads: + description: DataMoverDataDownloads contains information of the related + Velero DataDownload objects. + properties: + accepted: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Accepted + type: integer + canceled: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Canceled + type: integer + canceling: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Canceling + type: integer + completed: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Completed + type: integer + failed: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Failed + type: integer + inProgress: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase InProgress + type: integer + new: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase New + type: integer + prepared: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Prepared + type: integer + total: + description: number of DataDownloads related to this NonAdminRestore's + Restore + type: integer + type: object + fileSystemPodVolumeRestores: + description: FileSystemPodVolumeRestores contains information of the + related Velero PodVolumeRestore objects. + properties: + completed: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase Completed + type: integer + failed: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase Failed + type: integer + inProgress: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase InProgress + type: integer + new: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase New + type: integer + total: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore + type: integer + type: object phase: description: phase is a simple one high-level summary of the lifecycle of an NonAdminRestore. diff --git a/config/crd/bases/oadp.openshift.io_nonadminbackups.yaml b/config/crd/bases/oadp.openshift.io_nonadminbackups.yaml index b1c66fc660..321bd31f59 100644 --- a/config/crd/bases/oadp.openshift.io_nonadminbackups.yaml +++ b/config/crd/bases/oadp.openshift.io_nonadminbackups.yaml @@ -601,6 +601,72 @@ spec: - type type: object type: array + dataMoverDataUploads: + description: DataMoverDataUploads contains information of the related + Velero DataUpload objects. + properties: + accepted: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Accepted + type: integer + canceled: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Canceled + type: integer + canceling: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Canceling + type: integer + completed: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Completed + type: integer + failed: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Failed + type: integer + inProgress: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase InProgress + type: integer + new: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase New + type: integer + prepared: + description: number of DataUploads related to this NonAdminBackup's + Backup in phase Prepared + type: integer + total: + description: number of DataUploads related to this NonAdminBackup's + Backup + type: integer + type: object + fileSystemPodVolumeBackups: + description: FileSystemPodVolumeBackups contains information of the + related Velero PodVolumeBackup objects. + properties: + completed: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase Completed + type: integer + failed: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase Failed + type: integer + inProgress: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase InProgress + type: integer + new: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup in phase New + type: integer + total: + description: number of PodVolumeBackups related to this NonAdminBackup's + Backup + type: integer + type: object phase: description: phase is a simple one high-level summary of the lifecycle of an NonAdminBackup. diff --git a/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml b/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml index 4fc3a89095..26b3f116da 100644 --- a/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml +++ b/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml @@ -534,6 +534,72 @@ spec: - type type: object type: array + dataMoverDataDownloads: + description: DataMoverDataDownloads contains information of the related + Velero DataDownload objects. + properties: + accepted: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Accepted + type: integer + canceled: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Canceled + type: integer + canceling: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Canceling + type: integer + completed: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Completed + type: integer + failed: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Failed + type: integer + inProgress: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase InProgress + type: integer + new: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase New + type: integer + prepared: + description: number of DataDownloads related to this NonAdminRestore's + Restore in phase Prepared + type: integer + total: + description: number of DataDownloads related to this NonAdminRestore's + Restore + type: integer + type: object + fileSystemPodVolumeRestores: + description: FileSystemPodVolumeRestores contains information of the + related Velero PodVolumeRestore objects. + properties: + completed: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase Completed + type: integer + failed: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase Failed + type: integer + inProgress: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase InProgress + type: integer + new: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore in phase New + type: integer + total: + description: number of PodVolumeRestores related to this NonAdminRestore's + Restore + type: integer + type: object phase: description: phase is a simple one high-level summary of the lifecycle of an NonAdminRestore. diff --git a/config/non-admin-controller_rbac/role.yaml b/config/non-admin-controller_rbac/role.yaml index 99b9a865a8..91db455e40 100644 --- a/config/non-admin-controller_rbac/role.yaml +++ b/config/non-admin-controller_rbac/role.yaml @@ -160,6 +160,22 @@ rules: - get - patch - update +- apiGroups: + - velero.io + resources: + - datadownloads + verbs: + - get + - list + - watch +- apiGroups: + - velero.io + resources: + - datauploads + verbs: + - get + - list + - watch - apiGroups: - velero.io resources: @@ -172,6 +188,22 @@ rules: - patch - update - watch +- apiGroups: + - velero.io + resources: + - podvolumebackups + verbs: + - get + - list + - watch +- apiGroups: + - velero.io + resources: + - podvolumerestores + verbs: + - get + - list + - watch - apiGroups: - velero.io resources: