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

Create script to mirror dynamic plugin OCI artifacts for airgap deployments

      Create a bash script (e.g., mirror-plugins.sh) that handles mirroring of dynamic plugin OCI artifacts for airgapped RHDH deployments. The script should support multiple input modes.

      Requirements:

      Place script at .rhdh/scripts/mirror-plugins.sh in the rhdh-operator repository

      The script must support the following modes:

      Plugin Catalog Index Mode: Pull all plugins from a versioned catalog index e.g.,:

      ./mirror-plugins.sh --plugin-index oci://quay.io/rhdh/plugin-catalog-index:1.8 --to-registry registry.example.com
      

      File List Mode: Pull plugins listed in a local text file:

      ./mirror-plugins.sh --pugin-list /path/to/plugins.txt --to-registry registry.example.com
      

      Direct URL Mode: Pull specific plugins by direct OCI reference:

      ./mirror-plugins.sh --plugins oci://plugin1 oci://plugin2 --to-registry registry.example.com
      

      Combined Mode: Mix catalog index with custom plugins:

      ./mirror-plugins.sh \
         --plugin-index oci://quay.io/rhdh/plugin-catalog-index:1.8 \
         --plugins oci://custom-plugin1 oci://custom-plugin2 \
         --to-registry registry.example.com
      

      Export to Directory Mode and Import from Directory Mode (for fully disconnected environment):

      ./mirror-plugins.sh \
         --plugin-index oci://quay.io/rhdh/plugin-catalog-index:1.8 \
         --to-dir /path/to/export
      
      ./mirror-plugins.sh \
         --from-dir /path/to/export \
         --to-registry registry.example.com
      

              rh-ee-fndlovu Fortune Ndlovu
              rh-ee-fndlovu Fortune Ndlovu
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: