Bug 2161834

Summary: Incorrect descriptions in VM backup steps
Product: Container Native Virtualization (CNV) Reporter: Germano Veit Michel <gveitmic>
Component: DocumentationAssignee: Sasha Beskin <sbeskin>
Status: CLOSED MIGRATED QA Contact: Oded Ramraz <oramraz>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: anarnold, apinnick
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-07 10:09:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Germano Veit Michel 2023-01-18 03:26:30 UTC
Document URL: 
https://docs.openshift.com/container-platform/4.11/virt/backup_restore/virt-backing-up-vms.html

Section Number and Name: 
2. Create a Backup CR, as in the following example:

Describe the issue: 
Explanation notes 3 and 4 are duplicate

apiVersion: velero.io/v1
kind: Backup
metadata:
  name: <backup>
  labels:
    velero.io/storage-location: default
  namespace: openshift-adp
spec:
  hooks: {}
  includedNamespaces:
  - <namespace>  (1)
  includedResources: [] (2) 
  excludedResources: [] (3)
  storageLocation: <velero-sample-1> (4) 
  ttl: 720h0m0s
  labelSelector: (3) <-------- 3 was already used above
  - matchLabels:
      app=<label_1>
  - matchLabels:
      app=<label_2>
  - matchLabels:
      app=<label_3>
  orlabelSelectors: (4) <------- 4 was already used above
  - matchLabels:
      app=<label_1>
  - matchLabels:
      app=<label_2>
  - matchLabels:
      app=<label_3>

And as a consequence the explanations for labelSelector and orlabelSelectors are missing.

Suggestions for improvement: 
Go from 1 to 6 and add explanation for labelSelector and orlabelSelectors