Skip to content

Commit c745b55

Browse files
authored
Merge pull request #71518 from adellape/415_olm
OSDOCS#8883: Add OLM v1 deleting catalog proc
2 parents 062f2ce + 5d798ce commit c745b55

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

modules/olmv1-deleting-catalog.adoc

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * operators/olm_v1/olmv1-installing-an-operator-from-a-catalog.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
7+
[id="olmv1-deleting-catalog_{context}"]
8+
= Deleting a catalog
9+
10+
You can delete a catalog by deleting its custom resource (CR).
11+
12+
.Prerequisites
13+
14+
* You have a catalog installed.
15+
16+
.Procedure
17+
18+
* Delete a catalog by running the following command:
19+
+
20+
[source,terminal]
21+
----
22+
$ oc delete catalog <catalog_name>
23+
----
24+
+
25+
.Example output
26+
[source,text]
27+
----
28+
catalog.catalogd.operatorframework.io "my-catalog" deleted
29+
----
30+
31+
.Verification
32+
33+
* Verify the catalog is deleted by running the following command:
34+
+
35+
[source,terminal]
36+
----
37+
$ oc get catalog
38+
----

operators/olm_v1/olmv1-installing-an-operator-from-a-catalog.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,4 @@ include::modules/olmv1-forcing-an-update-or-rollback.adoc[leveloffset=+2]
9090
* xref:../../operators/olm_v1/olmv1-installing-an-operator-from-a-catalog.adoc#olmv1-version-range-support_olmv1-installing-operator[Support for version ranges]
9191

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

0 commit comments

Comments
 (0)