Manual steps for uninstalling singleton services - Cert Manager
This version of documentation is no longer updated. For the latest information, see the following links:
- Continuous Delivery (CD) documentation
- Support Cycle-2 (SC-2) documentation
Uninstall the IBM Cert Manager operator. Switch to the namespace where you deployed the IBM Cert Manager. Ensure that you switch to the ibm-cert-manager namespace unless the namespace was changed during installation of Cert Manager.
You can uninstall the Cert Manager operator with one of the following methods:
Uninstalling IBM Cert Manager using the console
To uninstall the IBM Cert Manager, complete the following steps:
- Login to the OpenShift Container Platform console as a cluster administrator.
- Delete the
CertManagerConfiginstance.- Click Operators > Installed Operators > IBM Cert Manager Operator > CertManagerConfig.
- Delete all CertManagerConfig instances.
- Uninstall the IBM Cert manager operator.
- DO NOT select the Delete all operand instances for this operator checkbox for the next step.
- Click Operators > Installed Operators > the overflow menu icon > Uninstall Operator.
- Verify that IBM Cert Manager resources are uninstalled.
- Click Workloads > Deployments.
- Ensure that the following resources are not in the list of Deployments:
- cert-manager-cainjector
- cert-manager-controller
- cert-manager-webhook
- ibm-cert-manager-operator If the services exist in the list, delete them.
- Click Networking > Services.
- Ensure that
cert-manager-webhookis not in the Services list. Ifcert-manager-webhookexists in the list, delete it.
- Verify that
MutatingWebhookConfigurationandValidatingWebhookConfigurationresources are uninstalled.- Click Home > Search > MutatingWebhookConfiguration.
- Ensure that
cert-manager-webhookis not in theMutatingWebhookConfigurationlist. Ifcert-manager-webhookexist in the list, delete it. - Click Home > Search > ValidatingWebhookConfiguration.
- Ensure that
cert-manager-webhookis not in theValidatingWebhookConfigurationlist. Ifcert-manager-webhookexist in the list, delete it.
Uninstalling IBM Cert manager using the CLI
To uninstall the IBM Cert Manager, complete the following steps:
-
Switch to the namespace where you installed the
ibm-cert-manageroperator.oc project <cert-manager-namespace> -
Delete all the
CertManagerConfiginstances.oc get certmanagerconfigoc delete certmanagerconfig <name> -
Uninstall the IBM Cert Manager operator:
oc delete sub ibm-cert-manager-operatoroc get csv | grep ibm-cert-manageroc delete csv <csv_name> -
Verify that all IBM Cert Manager resources are deleted.
oc get deployments -n <cert-manager-namespace> -l app.kubernetes.io/component=cert-manageroc get service -n <cert-manager-namespace> -l app=ibm-cert-manager-webhookoc get mutatingwebhookconfiguration | grep cert-manager-webhookoc get validatingwebhookconfiguration | grep cert-manager-webhook
If the deployments, services, and webhook configuration exist for the IBM Cert Manager, delete them.
oc delete mutatingwebhookconfiguration cert-manager-webhook
oc delete validatingwebhookconfiguration cert-manager-webhook