Kubernetes RBAC Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


  kubectl get clusterroles
  kubectl get clusterroles
=Get Details about a Specific Role=
kubectl -o yaml get clusterroles cluster-admin


=Assigning a Cluster Role to a Service Account=
=Assigning a Cluster Role to a Service Account=

Revision as of 21:58, 11 September 2019

Internal

List Roles

kubectl get clusterroles

Get Details about a Specific Role

kubectl -o yaml get clusterroles cluster-admin

Assigning a Cluster Role to a Service Account