You can remove the OpenShift Compliance Operator from your cluster by using the OpenShift Container Platform web console.
To remove the Compliance Operator, you must first delete the Compliance Operator custom resource definitions (CRDs). After the CRDs are removed, you can then remove the Operator and its namespace by deleting the openshift-compliance project.
Access to an OpenShift Container Platform cluster using an account with cluster-admin
permissions.
The OpenShift Compliance Operator must be installed.
To remove the Compliance Operator by using the OpenShift Container Platform web console:
Remove CRDs that were installed by the Compliance Operator:
Switch to the Administration → CustomResourceDefinitions page.
Search for compliance.openshift.io
in the Name field.
Click the Options menu next to each of the following CRDs, and select Delete Custom Resource Definition:
ComplianceCheckResult
ComplianceRemediation
ComplianceScan
ComplianceSuite
ProfileBundle
Profile
Rule
ScanSettingBinding
ScanSetting
TailoredProfile
Variable
Remove the OpenShift Compliance project:
Switch to the Home → Projects page.
Click the Options menu next to the openshift-compliance project, and select Delete Project.
Confirm the deletion by typing openshift-compliance
in the dialog box, and click Delete.