Bug 2000146

Summary: opm render includes channel metadata in properties when rendering bundles
Product: OpenShift Container Platform Reporter: Joe Lanford <jlanford>
Component: OLMAssignee: Joe Lanford <jlanford>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: davegord
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.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: 2021-10-18 17:50:51 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:

Comment 3 Jian Zhang 2021-09-06 07:34:19 UTC
mac:bin jianzhang$ ./opm version
Version: version.Version{OpmVersion:"32eb25914", GitCommit:"32eb2591437e394bdc58a58371c5cd1e6fe5e63f", BuildDate:"2021-09-06T03:45:53Z", GoOs:"darwin", GoArch:"amd64"}

mac:bin jianzhang$ ./opm render quay.io/olmqe/etcd-bundle:upgrade-0.9.4 -o yaml
---
image: quay.io/olmqe/etcd-bundle:upgrade-0.9.4
name: etcdoperator.v0.9.4
package: etcd
properties:
- type: olm.gvk
  value:
    group: etcd.database.coreos.com
    kind: EtcdBackup
    version: v1beta2
- type: olm.gvk
  value:
    group: etcd.database.coreos.com
    kind: EtcdCluster
    version: v1beta2
- type: olm.gvk
  value:
    group: etcd.database.coreos.com
    kind: EtcdRestore
    version: v1beta2
- type: olm.maxOpenShiftVersion
  value: "4.9"
- type: olm.package
  value:
    packageName: etcd
    version: 0.9.4
schema: olm.bundle

No channle info in it, LGTM, verify it.

Comment 6 errata-xmlrpc 2021-10-18 17:50:51 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759