Skip to content

Commit 8b5d08c

Browse files
committed
matchLabels should be a map of {key,value} pairs
1 parent 4b70f53 commit 8b5d08c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

modules/oadp-creating-backup-cr.adoc

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,22 @@ spec:
5858
storageLocation: <velero-sample-1> <4>
5959
ttl: 720h0m0s
6060
labelSelector: <5>
61-
- matchLabels:
61+
matchLabels:
6262
app=<label_1>
63-
- matchLabels:
6463
app=<label_2>
65-
- matchLabels:
6664
app=<label_3>
67-
orlabelSelectors: <6>
65+
orLabelSelectors: <6>
6866
- matchLabels:
6967
app=<label_1>
70-
- matchLabels:
7168
app=<label_2>
72-
- matchLabels:
7369
app=<label_3>
7470
----
7571
<1> Specify an array of namespaces to back up.
7672
<2> Optional: Specify an array of resources to include in the backup. Resources might be shortcuts (for example, 'po' for 'pods') or fully-qualified. If unspecified, all resources are included.
7773
<3> Optional: Specify an array of resources to exclude from the backup. Resources might be shortcuts (for example, 'po' for 'pods') or fully-qualified.
7874
<4> Specify the name of the `backupStorageLocations` CR.
79-
<5> Backup resources that have all of the specified labels.
80-
<6> Backup resources that have one or more of the specified labels.
75+
<5> Map of {key,value} pairs of backup resources that have *all* of the specified labels.
76+
<6> Map of {key,value} pairs of backup resources that have *one or more* of the specified labels.
8177

8278
. Verify that the status of the `Backup` CR is `Completed`:
8379
+

0 commit comments

Comments
 (0)