error: config GVK not recognized: mirror.openshift.io/v1alpha1, Kind=ImageSetConfiguration

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content