$ oc delete deployment -n cert-manager -l app.kubernetes.io/instance=cert-manager
You can remove the cert-manager Operator for Red Hat OpenShift from OpenShift Container Platform by uninstalling the Operator and removing its related resources.
You can uninstall the cert-manager Operator for Red Hat OpenShift by using the web console.
You have access to the cluster with cluster-admin
privileges.
You have access to the OpenShift Container Platform web console.
The cert-manager Operator for Red Hat OpenShift is installed.
Log in to the OpenShift Container Platform web console.
Uninstall the cert-manager Operator for Red Hat OpenShift Operator.
Navigate to Operators → 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.
Once you have uninstalled the cert-manager Operator for Red Hat OpenShift, you have the option to eliminate its associated resources from your cluster.
You have access to the cluster with cluster-admin
privileges.
You have access to the OpenShift Container Platform web console.
Log in to the OpenShift Container Platform 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).
$ 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 for Red Hat OpenShift:
Navigate to Administration → CustomResourceDefinitions.
Enter certmanager
in the Name field to filter the CRDs.
Click the Options menu 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 next to the cert-manager-operator and select Delete Namespace.
In the confirmation dialog, enter cert-manager-operator
in the field and click Delete.