Description of problem:
Should only show the mirrored bundle of operator for the v2
Version-Release number of selected component (if applicable):
oc-mirror version WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.16.0-202403251146.p0.g03ce0ca.assembly.stream.el9-03ce0ca", GitCommit:"03ce0ca797e73b6762fd3e24100ce043199519e9", GitTreeState:"clean", BuildDate:"2024-03-25T16:34:33Z", GoVersion:"go1.21.7 (Red Hat 1.21.7-1.el9) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
always
Steps to Reproduce:
1) with following imagesetconfig: cat config-v1.yaml kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 mirror: operators: - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.15 packages: - name: quay-operator minVersion: "3.10.2" maxVersion: "3.10.2" `oc-mirror --config config.yaml file://out --v2` `oc-mirror --config config.yaml --from file://out --v2 docker://xx.com:5000/default` 2) install the catalog source , idms and itms resources kind: ImageSetConfiguration 3) check the operator from console
Actual results:
3) After catalog source running , login the web-console , checked the mirrored package , the channel and version information is incorrect, show all the channels and all the bundles
Expected results:
3) Should only show the mirrored default channel and bundle info 3.10.2.
- clones
-
OCPBUGS-31559 Should only show the mirrored packages under the catalog source with v2 format
- Closed