Description of problem:
previously if a bundle specified in the ImageSetConfig does not exist oc-mirror v2 used to skip the bundle and continue with execution but from oc-mirror 4.18 version i see this is not happening.
Version-Release number of selected component (if applicable):
4.18-rc.5
How reproducible:
Always
Steps to Reproduce:
1. Install 4.18 oc-mirror
2. Use the ImageSetConfig below
{code:java}
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v2alpha1
mirror:
operators:
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.16
packages:
- name: cluster-kube-descheduler-operator
bundles:
- name: clusterkubedescheduleroperator.v5.0.2
- name: clusterkubedescheduleroperator.v3.0
- catalog: registry.redhat.io/redhat/community-operator-index:v4.14
packages:
- name: 3scale-community-operator
bundles:
- name: 3scale-community-operator.v0.9.1
- catalog: registry.redhat.io/redhat/certified-operator-index:v4.14
packages:
- name: cockroachdb-certified
bundles:
- name: cockroach-operator.v2.13.1
- name: redhat-marketplace-operator
bundles:
- name: redhat-marketplace-operator.v2.14.2
Actual results:{code:none}
oc-mirror fails with error
Expected results:
oc-mirror should skip the non existing bundles and continue mirroring others that exist.
Additional info:
works fine with 4.17, but failing from 4.18 and up
- relates to
-
CLID-302 Bundles feature removal
-
- Closed
-