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

oc-mirror v2 enhancement to further simplify itms/idms definitions

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18
    • oc-mirror
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Request to add a feature to mirror images with the following scheme

      `source_host/source_repo/artifact` -> `mirror_host/mirror_repo/source_host/source_repo/artifact`

      This would make itms/idms creation much easier as we can only need to specify the one item per source host.

      e.g.:

      ```
      apiVersion: config.openshift.io/v1
      kind: ImageDigestMirrorSet
      metadata:
        name: redhat-operators
      spec:
        imageDigestMirrors:
        - mirrors:
          - {{ mirror_host }}/{{ mirror_repo}}/registry.redhat.io
          source: registry.redhat.io
          mirrorSourcePolicy: NeverContactSource
      ```

      The current implemented mirroring scheme is as follows:

      • `source_host/source_repo/artifact` -> `mirror_host/mirror_repo/source_repo/artifact`

      So all in all, we are asking for the `source_host` to be added to the mirroring scheme.

              rhn-support-mkalinin Marina Kalinin
              rhn-support-bshaw Bikash Shaw
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                None
                None