Bug 2117447

Summary: [ACM 2.6] ManagedClusterImageRegistry CR is wrong in pure MCE env
Product: multicluster engine for Kubernetes Reporter: Song Lai <slai>
Component: Cluster LifecycleAssignee: Le Yang <leyan>
Status: CLOSED ERRATA QA Contact: Hui Chen <huichen>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: cbynum, dhuynh, yuhe
Target Milestone: ---Flags: cbynum: multicluster-engine-2.1+
cbynum: multicluster-engine-2.1.z+
Target Release: mce-2.1   
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: 2022-09-06 14:39:02 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 Song Lai 2022-08-11 02:54:33 UTC
Description of the problem:
https://github.com/stolostron/backplane-operator/commit/1c972e3a4fbb2692a0b3629ed3b59891220e90f9

```
% cat <<EOF | oc create -f -
apiVersion: imageregistry.open-cluster-management.io/v1alpha1
kind: ManagedClusterImageRegistry
metadata:
  name: song-image-registry
  namespace: default
spec:
  placementRef:
    group: cluster.open-cluster-management.io
    name: song-placement
    resource: placements
  pullSecret:
    name: song-pull-secret
  registries:
    - mirror: quay.io:443/acm-d
      source: registry.redhat.io/rhacm2
    - mirror: quay.io:443/acm-d
      source: registry.redhat.io/multicluster-engine
EOF
The ManagedClusterImageRegistry "song-image-registry" is invalid: spec.registry: Required value
```

Release version:
2.6

Operator snapshot version:
2.0.1-DOWNANDBACK-2022-06-20-19-01-04

OCP version:
4.10.24


Browser Info:
Firefox


Steps to reproduce:
1.

Actual results:
can not support multiple registries

Expected results:
can support multiple registries

Additional info:

Comment 1 Song Lai 2022-08-11 06:50:12 UTC
doc issue, downgrade the severity.

Comment 5 errata-xmlrpc 2022-09-06 14:39:02 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: Multicluster Engine for Kubernetes 2.1 security updates and bug fixes), 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:6345