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=mergeExample outputclustercatalog.olm.operatorframework.io/openshift-certified-operators patched
Verification
-
Verify the catalog is disabled by running the following command:
$ oc get clustercatalog openshift-certified-operatorsExample outputNAME LASTUNPACKED SERVING AGE openshift-certified-operators False 6h54m