Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-9769

Downstream: Enable operator to consume catalog index

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 1.9.0
    • None
    • Build, Operator
    • None
    • RHDH COPE 3284, RHDH COPE 3285

      After the upstream PR feature "Enable Operator to consume catalog index" is merged, the downstream/midstream needs to be updated to include the CATALOG_INDEX_IMAGE environment variable in the operator bundle's default configuration.

      Update the default config ConfigMap in:

      https://gitlab.cee.redhat.com/rhidp/rhdh/-/blob/rhdh-1-rhel-9/distgit/containers/rhdh-operator-bundle/manifests/rhdh-default-config_v1_configmap.yaml?ref_type=heads#L238  Add the CATALOG_INDEX_IMAGE environment variable to the install-dynamic-plugins init container:

         env:
           - name: NPM_CONFIG_USERCONFIG
             value: /opt/app-root/src/.npmrc.dynamic-plugins/.npmrc
           - name: MAX_ENTRY_SIZE
             value: "30000000"
           - name: CATALOG_INDEX_IMAGE
             value: "registry.redhat.io/rhdh/rhdh-plugin-catalog-index@sha256:<digest>" 

      Use the downstream registry reference, the value should point to the Red Hat registry, not the upstream quay.io/rhdh/ registry

      The goal is to update the CATALOG_INDEX_IMAGE reference from the upstream quay.io/rhdh/plugin-catalog-index:1.9 to the downstream registry.redhat.io/rhdh/rhdh-plugin-catalog-index:1.9, then later transform this to use a pinned digest.

      This should follow the existing process we have for sed/yq transformations in sync-midstream.sh to swap out community RHDH images for the production ones.

              nickboldt Nick Boldt
              rh-ee-fndlovu Fortune Ndlovu
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: