Uninstalling the cert-manager Operator for Red Hat OpenShift¶
You can remove the cert-manager Operator for Red Hat OpenShift from OpenShift Container Platform by uninstalling the Operator and removing its related resources.
Uninstall the cert-manager Operator for Red Hat OpenShift¶
You can uninstall the cert-manager Operator for Red Hat OpenShift by using the web console.
Prerequisites
- You have access to the cluster with
cluster-adminprivileges. - You have access to the OpenShift Container Platform web console.
- The cert-manager Operator for Red Hat OpenShift is installed.
Procedure
-
Log in to the OpenShift Container Platform web console.
-
Uninstall the cert-manager Operator for Red Hat OpenShift Operator.
- Navigate to Ecosystem → Installed Operators.
- Click the Options menu
next to the cert-manager Operator for Red Hat OpenShift entry and click Uninstall Operator. - In the confirmation dialog, click Uninstall.
Remove cert-manager Operator for Red Hat OpenShift resources¶
After you uninstall the cert-manager Operator for Red Hat OpenShift, you can delete its associated resources from your cluster.
Prerequisites
- You have access to the cluster with
cluster-adminprivileges. - You have access to the OpenShift Container Platform web console.
Procedure
-
Log in to the OpenShift Container Platform web console.
-
Remove the deployments of the cert-manager components, such as
cert-manager,cainjector, andwebhook, present in thecert-managernamespace.-
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,cainjectorandwebhookpresent in thecert-managernamespace by using the command-line interface (CLI).
-
-
Optional: Remove the custom resource definitions (CRDs) that were installed by the cert-manager Operator for Red Hat OpenShift:
-
Remove the finalizers from the
CertManagercustom resource (CR) by running the following command: -
Navigate to Administration → CustomResourceDefinitions.
-
Enter
certmanagerin the Name field to filter the CRDs. -
Click the Options menu
next to each of the following CRDs, and select Delete Custom Resource Definition:CertificateCertificateRequestCertManager(operator.openshift.io)ChallengeClusterIssuerIssuerOrder
-
-
Optional: Remove the
cert-manager-operatornamespace.- Navigate to Administration → Namespaces.
- Click the Options menu
next to the cert-manager-operator and select Delete Namespace. - In the confirmation dialog, enter
cert-manager-operatorin the field and click Delete.