Skip to content

Commit aaba279

Browse files
Merge pull request #60837 from xenolinux/OSDOCS-6390
OSDOCS#6390: Delete deployments running under the cert-manager namespace
2 parents e2cad46 + 8515a62 commit aaba279

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

modules/cert-manager-remove-resources-console.adoc

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="cert-manager-remove-resources-console_{context}"]
77
= Removing {cert-manager-operator} resources
88

9-
Optionally, after uninstalling the {cert-manager-operator}, you can remove its related resources from your cluster.
9+
Once you have uninstalled the {cert-manager-operator}, you have the option to eliminate its associated resources from your cluster.
1010

1111
.Prerequisites
1212

@@ -17,7 +17,26 @@ Optionally, after uninstalling the {cert-manager-operator}, you can remove its r
1717

1818
. Log in to the {product-title} web console.
1919

20-
. Remove CRDs that were installed by the {cert-manager-operator}:
20+
. Remove the deployments of the cert-manager components, such as `cert-manager`, `cainjector`, and `webhook`, present in the `cert-manager` namespace.
21+
22+
.. Click the *Project* drop-down menu to see a list of all available projects, and select the *cert-manager* project.
23+
24+
.. Navigate to *Workloads* -> *Deployments*.
25+
26+
.. Select the deployment that you want to delete.
27+
28+
.. Click the *Actions* drop-down menu, and select *Delete Deployment* to see a confirmation dialog box.
29+
30+
.. Click *Delete* to delete the deployment.
31+
32+
.. Alternatively, delete deployments of the cert-manager components such as `cert-manager`, `cainjector` and `webhook` present in the `cert-manager` namespace by using the command-line interface (CLI).
33+
+
34+
[source,terminal]
35+
----
36+
$ oc delete deployment -n cert-manager -l app.kubernetes.io/instance=cert-manager
37+
----
38+
39+
. Optional: Remove the custom resource definitions (CRDs) that were installed by the {cert-manager-operator}:
2140

2241
.. Navigate to *Administration* -> *CustomResourceDefinitions*.
2342

@@ -33,7 +52,7 @@ Optionally, after uninstalling the {cert-manager-operator}, you can remove its r
3352
*** `Issuer`
3453
*** `Order`
3554
36-
. Remove the `cert-manager-operator` namespace.
55+
. Optional: Remove the `cert-manager-operator` namespace.
3756
.. Navigate to *Administration* -> *Namespaces*.
3857
.. Click the Options menu {kebab} next to the *cert-manager-operator* and select *Delete Namespace*.
39-
.. In the confirmation dialog, enter `cert-manager-operator` in the field and click *Delete*.
58+
.. In the confirmation dialog, enter `cert-manager-operator` in the field and click *Delete*.

0 commit comments

Comments
 (0)