Bug 1870378

Summary: [DOC] add quotes to semver range example
Product: OpenShift Container Platform Reporter: Bruno Andrade <bandrade>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: jiazha, kuiwang, tbuskey, yhui
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:29:46 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 Bruno Andrade 2020-08-19 22:23:08 UTC
Description of problem:

https://github.com/operator-framework/operator-registry/blob/master/docs/design/operator-bundle.md#bundle-dependencies has a example on how to use semver with range as shown below:

dependencies:
  - type: olm.package
    value:
      packageName: prometheus
      version: >0.27.0
  - type: olm.gvk
    value:
      group: etcd.database.coreos.com
      kind: EtcdCluster
      version: v1beta2

Where >0.27.0 should be added between quote to avoid a yaml conversion issue.
 
Version-Release number of selected component (if applicable):
https://github.com/operator-framework/operator-registry/commit/3efef97a051c366bcd45ecc6c28d3d4522741a80#diff-ba4fcb6a5514edd925d1960cee5e7e33

How reproducible:
Always

Steps to Reproduce:
1. Try to index a bundle with dependencies.

Comment 5 errata-xmlrpc 2020-10-27 16:29:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196