Uploaded image for project: 'OpenShift CFE'
  1. OpenShift CFE
  2. CFE-812

oc-mirror supports ImageTagMirrorSet and ImageDigestMirrorSet

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • oc / oc-mirror, oc-mirror
    • None
    • IDMS/ITMS
    • False
    • None
    • False
    • Green
    • To Do
    • L

      Story: As a user of oc-mirror I can make use of the fact that OpenShift now supports tag-based mirror references so that I can mirror and use content in disconnected environments that is referred to by image tags rather than digest.

      Background: RFE-1608 has been implemented and will ship with OpenShift 4.13. This will introduce new APIs to control image pull redirection for mirrored content. More details in the release notes preview: https://docs.openshift.com/container-platform/4.13/release_notes/ocp-4-13-release-notes.html#ocp-4-13-nodes-mirror

      Acceptance criteria:

      • custom images, helm charts and operator catalogs with tag-based image references can be mirrored by oc-mirror as well, in turn producing a ImageTagMirrorSet manifest
      • custom images, helm charts, operator catalogs and OCP payload with digest-based references should still produce an ImageDigestMirrorSet after mirroring
      • the behavior to produce ImageTagMirrorSet should be opt-in and controllable at the level of the ImageSetConfig API since older OCP clusters may not support this new API
      • when attempting to mirror content that is referenced by tags and the above option is not set, the mirror operation should fail with a human-readable error message
      • the behavior to produce ImageDigestMirror manifests instead of ImageContentSourcePolicy should be opt-in and controllable at the level of the ImageSetConfig API since older OCP clusters may not support this new API

            skhoury@redhat.com Sherine Khoury
            DanielMesser Daniel Messer
            Ramon Acedo Ramon Acedo
            Votes:
            6 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: