Delete a catalog

You can delete a catalog by deleting its custom resource (CR).

Prerequisites
  • You have a catalog installed.

Procedure
  • Delete a catalog by running the following command:

    $ oc delete clustercatalog <catalog_name>
    Example output
    clustercatalog.olm.operatorframework.io "my-redhat-operators" deleted
Verification
  • Verify the catalog is deleted by running the following command:

    $ oc get clustercatalog