Garbage values are accepted for `--reference-policy` in `oc import-image` without any error
Issue
- Specifying '--reference-policy' with any other value than 'source' or 'local' results in 'tag.referencePolicy.type: Source' without any warning or error message in
oc import-imagecommand.
Environment
- Red Hat OpenShift Container Platform
- 4.8, 4.9, 4.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.