Bug 1781512

Summary: kubevirt-hyperconverged package manifest should refer to operator images by digest, not tag
Product: Container Native Virtualization (CNV) Reporter: Jason Shepherd <jshepherd>
Component: InstallationAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Irina Gulina <igulina>
Severity: high Docs Contact:
Priority: high    
Version: 2.1.0CC: cnv-qe-bugs, fdeutsch, ncredi, stirabos
Target Milestone: ---   
Target Release: 2.3.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-05-04 19:10:37 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 Jason Shepherd 2019-12-10 07:42:48 UTC
Description of problem:

In order to avoid supply chain attacks against the operator, and allow repository mirroring, references from the packagemanifest in OCP OLM should be by digest, not by tag.

Version-Release number of selected component (if applicable):


How reproducible:

$ oc get packagemanifest/kubevirt-hyperconverged -o=jsonpath='{.metadata.name}{"\t"}{range .status.channels[*]}{.currentCSV}{"\t"}{.currentCSVDesc.annotations.containerImage}{"\n"}{end}'



Actual results:

kubevirt-hyperconverged	kubevirt-hyperconverged-operator.v2.0.0	registry.redhat.io/container-native-virtualization/container-native-virtualization/hyperconverged-cluster-operator:v2.0.0-32
kubevirt-hyperconverged-operator.v2.1.0	registry.redhat.io/container-native-virtualization/hyperconverged-cluster-operator:v2.1.0-22

Expected results:

kubevirt-hyperconverged	kubevirt-hyperconverged-operator.v2.0.0	registry.redhat.io/container-native-virtualization/container-native-virtualization/hyperconverged-cluster-operator@sha256:<blah>
kubevirt-hyperconverged-operator.v2.1.0	registry.redhat.io/container-native-virtualization/hyperconverged-cluster-operator@sha256:<blah>

Additional info:

http://post-office.corp.redhat.com/archives/openshift-sme/2019-October/msg01569.html

Comment 1 Nelly Credi 2020-02-17 08:19:26 UTC
Please add fixed in version

Comment 5 errata-xmlrpc 2020-05-04 19:10:37 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, 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/RHEA-2020:2011