Manual steps for uninstalling singleton services - Cert Manager
Uninstall the IBM Cert Manager operator. Switch to the namespace where you deployed the IBM Cert Manager. For example, the ibm-cert-manager namespace.
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
CertManagerConfig
instances.- Click Operators > Installed Operators > IBM Cert Manager Operator > CertManagerConfig.
- Delete all CertManagerConfig instances. The
cert-manager-controller
,cert-manager-webhook
, andcert-manager-cainjector
deployments are also deleted when you delete theCertManagerConfig
instances. - Wait for the
CertManagerConfig
instances to be deleted.
- Uninstall the IBM Cert manager operator.
- Click Operators > Installed Operators > the overflow menu icon > Uninstall Operator.
- Delete the
MutatingWebhookConfiguration
andValidatingWebhookConfiguration
webhook configuration of the IBM Cert Manager.- Click Home > Search > MutatingWebhookConfiguration.
- Delete
cert-manager-webhook
. - Click Home > Search > ValidatingWebhookConfiguration.
- Delete
cert-manager-webhook
.
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-manager
operator.oc project <cert-manager-namespace>
-
Delete all the
CertManagerConfig
instances.oc get certmanagerconfig
oc delete certmanagerconfig <name>
-
Uninstall the IBM Cert Manager operator:
oc delete sub ibm-cert-manager-operator
oc get csv | grep ibm-cert-manager
oc delete csv <csv_name>
-
Delete the
MutatingWebhookConfiguration
andValidatingWebhookConfiguration
webhook configuration of the IBM Cert Manager.oc delete mutatingwebhookconfiguration cert-manager-webhook
oc delete validatingwebhookconfiguration cert-manager-webhook
{: codeblock}