1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/spo-uninstall-console.adoc
2023-10-30 10:13:25 -04:00

41 lines
1.5 KiB
Plaintext

// Module included in the following assemblies:
//
// * security/security_profiles_operator/spo-troubleshooting.adoc
:_mod-docs-content-type: PROCEDURE
[id="spo-uninstall-console_{context}"]
= Uninstall the Security Profiles Operator using the web console
To remove the Security Profiles Operator, you must first delete the `seccomp` and SELinux profiles. After the profiles are removed, you can then remove the Operator and its namespace by deleting the *openshift-security-profiles* project.
.Prerequisites
* Access to an {product-title} cluster that uses an account with `cluster-admin` permissions.
* The Security Profiles Operator is installed.
.Procedure
To remove the Security Profiles Operator by using the {product-title} web console:
. Navigate to the *Operators* -> *Installed Operators* page.
. Delete all `seccomp` profiles, SELinux profiles, and webhook configurations.
. Switch to the *Administration* -> *Operators* -> *Installed Operators* page.
. Click the Options menu {kebab} on the *Security Profiles Operator* entry and select *Uninstall Operator*.
. Switch to the *Home* -> *Projects* page.
. Search for `security profiles`.
. Click the Options menu {kebab} next to the *openshift-security-profiles* project, and select *Delete Project*.
.. Confirm the deletion by typing `openshift-security-profiles` in the dialog box, and click *Delete*.
. Delete the `MutatingWebhookConfiguration` object by running the following command:
+
[source,terminal]
----
$ oc delete MutatingWebhookConfiguration spo-mutating-webhook-configuration
----