Uninstalling the Security Profiles Operator
You can remove the Security Profiles Operator from your cluster by using the OpenShift Container Platform web console.
Uninstall the Security Profiles Operator by 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
- You have access to the web console as a user with
cluster-adminprivileges. - The Security Profiles Operator is installed.
Procedure
- Navigate to the Ecosystem → Installed Operators page.
- Delete all
seccompprofiles, SELinux profiles, and webhook configurations. - Switch to the Administration → Ecosystem → Installed Operators page.
- Click the Options menu
on the Security Profiles Operator entry. - Select Uninstall Operator.
- Switch to the Home → Projects page.
- Search for
security profiles. - Click the Options menu
next to the openshift-security-profiles project. - Select Delete Project.
- Enter
openshift-security-profilesin the dialog box. - Click Delete.
- Enter
- Delete the
MutatingWebhookConfigurationobject by running the following command:terminal$ oc delete MutatingWebhookConfiguration spo-mutating-webhook-configuration