From a9c247048f51536f55b869897eec35dd0678ee8f Mon Sep 17 00:00:00 2001 From: Daniel Jiang Date: Thu, 11 May 2023 13:18:43 +0800 Subject: [PATCH] Add "orLabelSelectors" to schedule API doc Signed-off-by: Daniel Jiang --- site/content/docs/main/api-types/schedule.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/site/content/docs/main/api-types/schedule.md b/site/content/docs/main/api-types/schedule.md index 58a4c454b..1bc4a81c3 100644 --- a/site/content/docs/main/api-types/schedule.md +++ b/site/content/docs/main/api-types/schedule.md @@ -94,6 +94,13 @@ spec: matchLabels: app: velero component: server + # Individual object when matched with any of the label selector specified in the set are to be included in the backup. Optional. + # orLabelSelectors as well as labelSelector cannot co-exist, only one of them can be specified in the backup request + orLabelSelectors: + - matchLabels: + app: velero + - matchLabels: + app: data-protection # Whether to snapshot volumes. Valid values are true, false, and null/unset. If unset, Velero performs snapshots as long as # a persistent volume provider is configured for Velero. snapshotVolumes: null