12.8.3. Removing External Secrets Operator for Red Hat OpenShift resources by using the CLI
After you have uninstalled the External Secrets Operator for Red Hat OpenShift, you can optionally eliminate its associated resources from your cluster by using the command-line interface (CLI).
Prerequisites
-
You have access to the cluster with
cluster-adminprivileges.
Procedure
Delete the deployments of the
external-secretsapplication components in theexternal-secretsnamespace by running the following command:$ oc delete deployment -n external-secrets -l app=external-secretsDelete the custom resource definitions (CRDs) that were installed by the External Secrets Operator by running the following command:
$ oc delete customresourcedefinitions.apiextensions.k8s.io -l external-secrets.io/component=controllerDelete the
external-secrets-operatornamespace by running the following command:$ oc delete project external-secrets-operator