1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/external-secrets-operator-uninstall-olm.adoc
2025-12-03 17:21:14 +00:00

41 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * security/external_secrets_operator/external-secrets-operator-migrate-downstream-upstream.adoc
:_mod-docs-content-type: PROCEDURE
[id="external-secrets-operator-uninstall-olm_{context}"]
= Uninstalling an Operator Lifecylce Manager installed community {external-secrets-operator-short}
[role="_abstract"]
Remove the community {external-secrets-operator-short} that was installed by an Operator Lifecycle Manager (OLM) subscription. This helps you free up resources and maintain a clean environment for your cluster.
.Prerequisites
* You must be logged in as a user with the `cluster-admin` role.
* You must have deleted the `operatorconfig` CR.
.Procedure
. Find the subscription name by running the following command:
+
[source,terminal]
----
$ oc get subscription -n <operator_namespace> | grep external-secrets
----
. Delete the subscription by running the following command:
+
[source,terminal]
----
$ oc delete subscription <subscription_name> -n <operator_namespace>
----
. Delete the `ClusterServiceVersion` by running the following command:
+
[source,terminal]
----
$ oc delete csv <csv_name> -n <operator_namespace>
----