1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/cert-manager-remove-resources-console.adoc
2023-10-30 10:13:25 -04:00

58 lines
2.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * security/cert-manager-operator-uninstall.adoc
:_mod-docs-content-type: PROCEDURE
[id="cert-manager-remove-resources-console_{context}"]
= Removing {cert-manager-operator} resources
Once you have uninstalled the {cert-manager-operator}, you have the option to eliminate its associated resources from your cluster.
.Prerequisites
* You have access to the cluster with `cluster-admin` privileges.
* You have access to the {product-title} web console.
.Procedure
. Log in to the {product-title} web console.
. Remove the deployments of the cert-manager components, such as `cert-manager`, `cainjector`, and `webhook`, present in the `cert-manager` namespace.
.. Click the *Project* drop-down menu to see a list of all available projects, and select the *cert-manager* project.
.. Navigate to *Workloads* -> *Deployments*.
.. Select the deployment that you want to delete.
.. Click the *Actions* drop-down menu, and select *Delete Deployment* to see a confirmation dialog box.
.. Click *Delete* to delete the deployment.
.. 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).
+
[source,terminal]
----
$ oc delete deployment -n cert-manager -l app.kubernetes.io/instance=cert-manager
----
. Optional: Remove the custom resource definitions (CRDs) that were installed by the {cert-manager-operator}:
.. Navigate to *Administration* -> *CustomResourceDefinitions*.
.. Enter `certmanager` in the *Name* field to filter the CRDs.
.. Click the Options menu {kebab} next to each of the following CRDs, and select *Delete Custom Resource Definition*:
*** `Certificate`
*** `CertificateRequest`
*** `CertManager` (`operator.openshift.io`)
*** `Challenge`
*** `ClusterIssuer`
*** `Issuer`
*** `Order`
. Optional: Remove the `cert-manager-operator` namespace.
.. Navigate to *Administration* -> *Namespaces*.
.. Click the Options menu {kebab} next to the *cert-manager-operator* and select *Delete Namespace*.
.. In the confirmation dialog, enter `cert-manager-operator` in the field and click *Delete*.