oc-mirror removes operator images from mirror registry that are not referenced in the channel anymore

Solution Verified - Updated -

Issue

  • Images get pruned from the private registry if the images don't exist in the catalog anymore when performing mirroring with oc-mirror.
  • How to prevent oc-mirror from removing images from mirror registry?

Environment

  • Red Hat OpenShift Container Platform
    • 4.10 and above

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