Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions modules/olmv1-deleting-catalog.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Module included in the following assemblies:
//
// * operators/olm_v1/olmv1-installing-an-operator-from-a-catalog.adoc

:_mod-docs-content-type: PROCEDURE

[id="olmv1-deleting-catalog_{context}"]
= Deleting 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:
+
[source,terminal]
----
$ oc delete catalog <catalog_name>
----
+
.Example output
[source,text]
----
catalog.catalogd.operatorframework.io "my-catalog" deleted
----

.Verification

* Verify the catalog is deleted by running the following command:
+
[source,terminal]
----
$ oc get catalog
----
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ include::modules/olmv1-forcing-an-update-or-rollback.adoc[leveloffset=+2]
* xref:../../operators/olm_v1/olmv1-installing-an-operator-from-a-catalog.adoc#olmv1-version-range-support_olmv1-installing-operator[Support for version ranges]

include::modules/olmv1-deleting-an-operator.adoc[leveloffset=+1]
include::modules/olmv1-deleting-catalog.adoc[leveloffset=+1]