Description of problem:
Configuring an ImageSet like below, however the minVersion and maxVersion fields appear to be ignored and all versions are mirrored
Version-Release number of selected component (if applicable):
4.15.0-202406132106.p0.ge91f573.assembly.stream.el9-e91f573
How reproducible:
everytime
Steps to Reproduce:
1. Attempt to mirror with the following ImageSet
---
apiVersion: mirror.openshift.io/v1alpha2
kind: ImageSetConfiguration
mirror:
operators:
- catalog: "registry.redhat.io/redhat/redhat-operator-index:v4.12"
targetCatalog: "redhat/redhat-operator-index"
packages:
- name: "openshift-gitops-operator"
channels:
- name: "gitops-1.7"
minVersion: "1.7.4+0.1690486082.p"
maxVersion: "1.7.4+0.1690486082.p"
- name: "ansible-automation-platform-operator"
channels:
- name: "stable-2.3"
minVersion: "2.3.0+0.1707930478"
maxVersion: "2.3.0+0.1707930478"
storageConfig:
registry:
imageURL: quay.io/mwasher/ocp-release
~~~
2. List the mirrored images
Actual results:
All images appear to be mirrored
Expected results:
images are limited to those within the minVersion and maxVersion fields
Additional info:
- duplicates
-
OCPBUGS-33670 oc-mirror tool is not detecting the package that exist in the catalog
-
- Closed
-
- is depended on by
-
OCPBUGS-33161 oc mirror - ansible fatal error - rendered catalog is invalid
-
- Closed
-