Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-3000

ImageContentSourcePolicy generated by oc-mirror should contain previously published mirrors

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Normal Normal
    • openshift-4.16
    • None
    • oc
    • False
    • None
    • False
    • Not Selected

      As part of the output artifacts oc-mirror creates a list of ImageContentSourcePolicy objects to apply to the target cluster. However, this list only contains images synced in the current run and does not provide a full list of ICSPs to apply to the cluster.

      This means that one needs to merge all ICSPs from the different runs of an on-mirror sync, which is a manual and tedious task. Also if you start dropping operators / images from being synced, you have to manually remove them from your ICSPs.

      We are asking that oc-mirror produces after each run a full list of ImageContentSourcePolicy objects representing all available operators / images which path we have to redirect using an ICSP.

      This will allow us to simply apply the articats produced by oc-mirror to the disconnected clusters. The same behavior goes with the operator catalog images. You only get CatalogSource kinds for the catalog indexes produced in the particular run. If there is none, you do not get a catalog source.

              racedoro@redhat.com Ramon Acedo
              rhn-support-psingour Poornima Singour
              Votes:
              4 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: