[OCP] Disconnected cluster and file-based catalogs - how to avoid pruning of no longer listed operators?

Solution Verified - Updated -

Issue

  • oc-mirror automatically prunes operator images from the registry if they are no longer listed in the catalog.
  • ImagePullBackOff for operator images after updating a mirrored catalog by running oc-mirror.
  • Not able to install older versions from a mirrored catalog created by oc-mirror.

Environment

  • Red Hat OpenShift Container Platform 4.x
  • Disconnected environment / customized container registry for operator images and -catalogs
  • grpcurl
  • opm

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