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:

  1. Login to the OpenShift Container Platform console as a cluster administrator.
  2. Delete the CertManagerConfig instances.
    1. Click Operators > Installed Operators > IBM Cert Manager Operator > CertManagerConfig.
    2. Delete all CertManagerConfig instances. The cert-manager-controller, cert-manager-webhook, and cert-manager-cainjector deployments are also deleted when you delete the CertManagerConfig instances.
    3. Wait for the CertManagerConfig instances to be deleted.
  3. Uninstall the IBM Cert manager operator.
    1. Click Operators > Installed Operators > the overflow menu icon > Uninstall Operator.
  4. Delete the MutatingWebhookConfiguration and ValidatingWebhookConfiguration webhook configuration of the IBM Cert Manager.
    1. Click Home > Search > MutatingWebhookConfiguration.
    2. Delete cert-manager-webhook.
    3. Click Home > Search > ValidatingWebhookConfiguration.
    4. Delete cert-manager-webhook.

Uninstalling IBM Cert manager using the CLI

To uninstall the IBM Cert Manager, complete the following steps:

  1. Switch to the namespace where you installed the ibm-cert-manager operator.

    oc project <cert-manager-namespace>
    
  2. Delete all the CertManagerConfiginstances.

    oc get certmanagerconfig
    
    oc delete certmanagerconfig <name>
    
  3. 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>
    
  4. Delete the MutatingWebhookConfiguration and ValidatingWebhookConfiguration webhook configuration of the IBM Cert Manager.

    oc delete mutatingwebhookconfiguration cert-manager-webhook
    
    oc delete validatingwebhookconfiguration cert-manager-webhook
    

    {: codeblock}