OpenShift Security Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=List All Cluster Role Bindings=
=List All Cluster Role Bindings=


   oc get clusterrolebinding
   oc get clusterrolebindings


=List Role Bindings for a Specific Role=
=List Role Bindings for a Specific Role=

Revision as of 23:25, 12 October 2017

Internal

List All Cluster Role Bindings

 oc get clusterrolebindings

List Role Bindings for a Specific Role

 oc get clusterrolebinding/cluster-admins

Make a User a Cluster Administrator

This command can be used to make regular users cluster administrators:

oadm policy add-cluster-role-to-user cluster-admin ovidiu

Enable system:admin Remote Access

Procedure to enable system:admin remote access