6.2. 글로벌 리소스 삭제
OpenShift Container Platform 또는 Kubernetes 명령줄 인터페이스를 사용하여 Kubernetes용 Red Hat Advanced Cluster Security를 생성하는 글로벌 리소스를 삭제할 수 있습니다.
절차
글로벌 리소스를 삭제합니다.
OpenShift Container Platform에서 다음을 수행합니다.
$ oc get clusterrole,clusterrolebinding,role,rolebinding,psp -o name | grep stackrox | xargs oc delete --wait
$ oc delete scc -l "app.kubernetes.io/name=stackrox"
$ oc delete ValidatingWebhookConfiguration stackrox
Kubernetes에서 다음을 수행합니다.
$ kubectl get clusterrole,clusterrolebinding,role,rolebinding,psp -o name | grep stackrox | xargs kubectl delete --wait
$ kubectl delete ValidatingWebhookConfiguration stackrox