-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.16
-
None
-
False
-
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.