Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44215

ImageTagMirrorSet with imageDigestMirrors results in empty ImageTagMirrorSet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.16
    • Node / CRI-O
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      ImageTagMirrorSet with imageDigestMirrors results in empty ImageTagMirrorSet

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          100%

      Steps to Reproduce:

          1.Create an ImageTagMirrorSet file
          2.Incorrectly put spec.imageDigestMirrors into the file
          3.Run oc create -f on the file
          

      Actual results:

          An empty ImageTagMirrorSet is created

      Expected results:

          The OpenShift API or MCO rejects this as an invalid configuration

      Additional info:

          It's very easy to do this when copying the examples from the documentation. Our docs seem only to have ImageDigestMirrorSet examples. I copied one and converted it to an ImageTagMirrorSet but forgot to change spec.imageDigestMirrors to spec.imageTagMirrors and found this issue.

              qiwan233 Qi Wang
              dan5179 Dan Clark
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: