error: config GVK not recognized: mirror.openshift.io/v1alpha1, Kind=ImageSetConfiguration
Issue
When download the latest oc-mirror tool to mirror the images using below sample command, it populates below error:
$ ./oc-mirror --config=/root/mirror-registry/imageset.yaml docker://quay.example.com:8443/oc-mirror --dest-skip-tls --dry-run
error: config GVK not recognized: mirror.openshift.io/v1alpha1, Kind=ImageSetConfiguration
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
- oc-mirror 4.11
- oc-mirror plugin v2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.