Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-62603

[v2] oc-mirror should only show the images that are being collected during collection phase.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.19, 4.20, 4.21
    • oc-mirror
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Currently, when using oc-mirror to mirror only Helm images, it displays collecting release images, operator images, and so on. This can be misleading.

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

          

      How reproducible:

      Always

      Steps to Reproduce:

          1.Perform m2d using the ISC added below.
          2.
          3.
          

      Actual results:

      2025/09/25 08:16:28  [INFO]   : 🔍 collecting release images...
      2025/09/25 08:16:28  [INFO]   : 🔍 collecting operator images...
      2025/09/25 08:16:28  [INFO]   : 🔍 collecting additional images...
      2025/09/25 08:16:28  [INFO]   : 🔍 collecting helm images...

      Expected results:

      2025/09/25 08:16:28 [INFO] : 🔍 collecting helm images...

      Additional info:

      ISC file:
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        helm:
          repositories:
            - name: podinfo
              url: https://stefanprodan.github.io/podinfo
              charts:
                - name: podinfo
                  version: 5.0.0
            - name: sbo
              url: https://redhat-developer.github.io/service-binding-operator-helm-chart/
            - name: cosigned
              url: https://sigstore.github.io/helm-charts
              charts:
                - name: cosigned
                  version: 0.1.23

       

              rh-ee-aguidi Alex Guidi
              rh-ee-ngavali Nidan Gavali
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: