From 54331c022ea5461bc39176b789067915974c802b Mon Sep 17 00:00:00 2001 From: Michal Pryc Date: Tue, 10 Dec 2024 20:59:39 +0100 Subject: [PATCH] Non-admin CRD compatibility update for 128 CRD updates for the following non-admin PR: https://github.com/migtools/oadp-non-admin/pull/128 Signed-off-by: Michal Pryc --- .../oadp.openshift.io_nonadminrestores.yaml | 14 ++++++++++++++ .../bases/oadp.openshift.io_nonadminrestores.yaml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml b/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml index 1653510889..44a659d2ca 100644 --- a/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml +++ b/bundle/manifests/oadp.openshift.io_nonadminrestores.yaml @@ -537,6 +537,20 @@ spec: - Created - Deleting type: string + queueInfo: + description: |- + queueInfo is used to estimate how many restores are scheduled before the given VeleroRestore in the OADP namespace. + This number is not guaranteed to be accurate, but it should be close. It's inaccurate for cases when + Velero pod is not running or being restarted after Restore object were created. + It counts only VeleroRestores that are still subject to be handled by OADP/Velero. + properties: + estimatedQueuePosition: + description: estimatedQueuePosition is the number of operations + ahead in the queue (0 if not queued) + type: integer + required: + - estimatedQueuePosition + type: object veleroRestore: description: VeleroRestore contains information of the related Velero restore object. diff --git a/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml b/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml index 29d48d2713..9bd31eb98e 100644 --- a/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml +++ b/config/crd/bases/oadp.openshift.io_nonadminrestores.yaml @@ -537,6 +537,20 @@ spec: - Created - Deleting type: string + queueInfo: + description: |- + queueInfo is used to estimate how many restores are scheduled before the given VeleroRestore in the OADP namespace. + This number is not guaranteed to be accurate, but it should be close. It's inaccurate for cases when + Velero pod is not running or being restarted after Restore object were created. + It counts only VeleroRestores that are still subject to be handled by OADP/Velero. + properties: + estimatedQueuePosition: + description: estimatedQueuePosition is the number of operations + ahead in the queue (0 if not queued) + type: integer + required: + - estimatedQueuePosition + type: object veleroRestore: description: VeleroRestore contains information of the related Velero restore object.