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

Enable oc-mirror to handle OCI-formatted AdditionalImages, heml and release images from an ImageSetConfig

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • oc-mirror
    • None
    • False
    • None
    • False

      As an end user I want oc-mirror to handle OCI-formatted release images or images listed as AdditionalImages from an ImageSetConfig structure.

      Currently an oci-formatted image configured as additionalImages:

      additionalImages: 
        - name: <remote-registry>/<namespace>/<image>:<tag>

      fails when the image's child manifests are OCI formatted:

      $ podman manifest inspect <remote-registry>/<namespace>/<image>:<tag>|jq '.mediaType,.manifests[].mediaType'
      "application/vnd.docker.distribution.manifest.list.v2+json"
      "application/vnd.oci.image.manifest.v1+json"
      "application/vnd.oci.image.manifest.v1+json"
      
      error: unable to retrieve source image <remote-registry>/<namespace>/<image> manifest sha256:caa214ff75b6eff60067959daf0aabfec5b1492ec7a232b7ff22fc0330ebaa9e: manifest unknown: OCI index found, but Accept header does not support OCI indexes 

      Previous related work: https://issues.redhat.com/browse/CFE-659

       

       

            Unassigned Unassigned
            rhn-support-bverschu Bram Verschueren
            Votes:
            12 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: