Uploaded image for project: 'OpenShift Container Platform (OCP) Strategy'
  1. OpenShift Container Platform (OCP) Strategy
  2. OCPSTRAT-1515

Reflect only the mirrored operators in the operator catalogs

XMLWordPrintable

    • BU Product Work
    • False
    • Hide

      None

      Show
      None
    • False
    • 0% To Do, 100% In Progress, 0% Done
    • 0
    • Program Call

      Feature Overview

      As a oc-mirror user, I would like mirrored operator catalogs to reflect the mirrored operators only, so that, after I mirror my catalog I can check that it contains the filtered operators using: 

      $ oc-mirror list operators --catalog mirror.syangsao.net:8443/ocp4/redhat/redhat-operator-index:v4.12 

      Context

      In oc-mirror v2 (and in v1 after bug fix OCPBUGS-31536), oc-mirror doesn't rebuild catalogs.

      • The filtered declarative config isn't recreated based on the imagesetconfig filter
      • The catalog cache isn't regenerated
      • The catalog image isn't rebuilt based on the above 2 elements
        Instead, the original catalog image is pushed as is to the mirror registry. Its declarative config will show all operators, and for each operator all channels and all bundles.
        This behavior is causing some inconvenience to our users.

      Concerns, complexity

      • How to deal with caches
      • How to deal with default channels
      • How to deal with keeping a single valid channel head
      • What to do when cross channel filtering is involved

      Known ongoing/related work

      Additional info:

       

              racedoro@redhat.com Ramon Acedo
              racedoro@redhat.com Ramon Acedo
              Sherine Khoury Sherine Khoury
              Rama Kasturi Narra Rama Kasturi Narra
              Subhashini T K Subhashini T K
              Luigi Mario Zuccarelli Luigi Mario Zuccarelli
              Ramon Acedo Ramon Acedo
              Eric Rich Eric Rich
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: