forked from openshift/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
OpenShift 3 Administration
Endi S. Dewata edited this page Sep 15, 2023
·
1 revision
To list roles:
$ oc get roles
To remove a role:
$ oc delete roles/<name>
To list role bindings for the current namespace:
$ oc get rolebindings
To remove a role binding:
$ oc delete rolebindings/<name>
To list cluster role bindings for all namespaces:
$ oc get clusterrolebindings
To list service accounts:
$ oc get sa
To remove a service account:
$ oc delete sa/<name>