Disable a default catalog

You can disable the Red Hat-provided catalogs that are included with Red Hat OpenShift Container Platform by default.

Procedure
  • Disable a default catalog by running the following command:

    $ oc patch clustercatalog openshift-certified-operators -p \
      '{"spec": {"availabilityMode": "Unavailable"}}' --type=merge
    Example output
    clustercatalog.olm.operatorframework.io/openshift-certified-operators patched
Verification
  • Verify the catalog is disabled by running the following command:

    $ oc get clustercatalog openshift-certified-operators
    Example output
    NAME                            LASTUNPACKED   SERVING   AGE
    openshift-certified-operators                  False     6h54m