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

[RFE] Add the ability in oc-mirror to create a (single) custom index to mirror operator packages from different catalog sources

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • openshift-4.12
    • oc, oc-mirror
    • None
    • False
    • None
    • False
    • Not Selected

      1. [RFE] Add the ability in oc-mirror to create a (single) custom index to mirror operator packages from different catalog sources
      2. What is the nature and description of the request?
      In an effort to reduce exec probes for CPU platform efficiency in the telco environment we would like to have a way using oc-mirror to use a single catalog source for some required certified operators (intel FEC & intel network operator) and red hat operators (lso, SRIOV, PTP, etc)
      3. Why does the customer need this? (List the business requirements here)
      This would lessen the CPU platform impact on deployed SNO clusters
      4. List any affected packages or components.

      From previous auto generated RFE:

      Description of problem:

      For the Telco RH GitOps ZTP solutions, it is desirable to have just a single operator index instead of four different operator indexes (i.e. "community-operator-index" "redhat-operator-index" "certified-operator-index" "redhat-marketplace-index"). This could decrease the CPU usage of the RH ZTP GitOps solution greatly.

      Ideally, would be really nice if this can be accomplished in a declarative way using the same ImageSetConfiguration.yaml.

      apiVersion: mirror.openshift.io/v1alpha1
      kind: ImageSetConfiguration
      storageConfig:
      registry:
      imageURL: bastion-aio2-8a.e2e.bos.redhat.com:8443/ocp9
      mirror:
      ocp:
      channels:
      
          name: candidate-4.10
          versions:
          '4.10.0-rc.2'
          graph: false
          operators:
          catalog: registry.redhat.io/redhat/redhat-operator-index:v4.9
          headsOnly: false
          packages:
          name: local-storage-operator
          name: ocs-operator
          name: performance-addon-operator
          name: ptp-operator
          name: sriov-network-operator
          name: advanced-cluster-management
          name: openshift-gitops-operator
          catalog: registry.redhat.io/redhat/certified-operator-index:v4.9
          headsOnly: false
          packages:
          name: sriov-fec
      
          - name: n3000
      
          catalog: registry.redhat.io/redhat/community-operator-index:v4.9
          headsOnly: false
          packages:
          name: hive-operator
      
      oc-mirror --config imageset-config-ztp-catalog.yaml docker://bastion-aio2-8a.e2e.bos.redhat.com:8443/ocp9
      

      Original BZ - https://bugzilla.redhat.com/show_bug.cgi?id=2055579
      Auto-generated JIRA from BZ above - https://issues.redhat.com/browse/OCPBUGSM-40834

      There was some discussion for the use of a consolidate flag in the defined ISC for oc-mirror

              gausingh@redhat.com Gaurav Singh
              dphillip@redhat.com Davis Phillips
              Votes:
              0 Vote for this issue
              Watchers:
              Start watching this issue

                Created:
                Updated: