Skip to content

OpenShift 3 Administration

Endi S. Dewata edited this page Sep 15, 2023 · 1 revision

Roles

To list roles:

$ oc get roles

To remove a role:

$ oc delete roles/<name>

Role Bindings

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

Service Accounts

To list service accounts:

$ oc get sa

To remove a service account:

$ oc delete sa/<name>