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 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.
-
You have access to the web console as a user with
cluster-adminprivileges. -
The Security Profiles Operator is installed.
To remove the Security Profiles Operator by using the OpenShift Container Platform web console:
-
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 and select Uninstall Operator.
-
Switch to the Home → Projects page.
-
Search for
security profiles. -
Click the Options menu
next to the openshift-security-profiles project, and select Delete Project.
-
Confirm the deletion by typing
openshift-security-profilesin the dialog box, and click Delete.
-
-
Delete the
MutatingWebhookConfigurationobject by running the following command:$ oc delete MutatingWebhookConfiguration spo-mutating-webhook-configuration