7.11. Uninstalling the Security Profiles Operator
You can remove the Security Profiles Operator from your cluster by using the OpenShift Container Platform web console.
7.11.1. 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
-
You have access to the web console as a user with
cluster-adminprivileges. - The Security Profiles Operator is installed.
Procedure
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.
-
Confirm the deletion by typing
Delete the
MutatingWebhookConfigurationobject by running the following command:$ oc delete MutatingWebhookConfiguration spo-mutating-webhook-configuration