mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * security/external-secrets-operator-uninstall.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="external-secrets-remove-resources-cli_{context}"]
|
|
= Removing {external-secrets-operator} resources by using the CLI
|
|
|
|
After you have uninstalled the {external-secrets-operator}, 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-admin` privileges.
|
|
|
|
.Procedure
|
|
|
|
. Delete the deployments of the `external-secrets` application components in the `external-secrets` namespace by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete deployment -n external-secrets -l app=external-secrets
|
|
----
|
|
|
|
. Delete the custom resource definitions (CRDs) that were installed by the {external-secrets-operator-short} by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete customresourcedefinitions.apiextensions.k8s.io -l external-secrets.io/component=controller
|
|
----
|
|
|
|
. Delete the `external-secrets-operator` namespace by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete project external-secrets-operator
|
|
----
|