Cause: Bundle images rendered to the file-based catalog format did not contain related images for the images used by their operator deployment
Consequence: Images used in the operator deployment were not mirrored to disconnected clusters unless they were explicitly listed in the CSV relatedImages field.
Fix: The `opm render` command now explicitly adds the CSVs operator images to the set of relatedImages when rendering the bundle image to the FBC format.
Result: Images used in the operator deployment are now mirrored to disconnected clusters even if they are not explictly listed in the CSV relatedImages field.
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.10.3 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-2022:0056
verify: [root@preserve-olm-agent-test JIRA-2196]# opm version Version: version.Version{OpmVersion:"dc5f6de60", GitCommit:"dc5f6de60a1a11f2f0988dc0bd061aadedc9edb1", BuildDate:"2021-12-03T01:51:28Z", GoOs:"linux", GoArch:"amd64"} [root@preserve-olm-agent-test JIRA-2196]# opm render quay.io/olmqe/mta-operator:v0.0.4-2199 -o yaml --- image: quay.io/olmqe/mta-operator:v0.0.4-2199 name: windup-operator.0.0.4 package: mta-operator properties: - type: olm.gvk value: group: windup.jboss.org kind: Windup version: v1 - type: olm.package value: packageName: mta-operator version: 0.0.4 ...... relatedImages: - image: quay.io/olmqe/mta-operator:v0.0.4-2199 name: "" - image: quay.io/windupeng/windup-operator-native:0.0.4 name: "" schema: olm.bundle The output has relatedImages section. LGTM, verified