Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 959 Bytes

01.configure-rbac.md

File metadata and controls

30 lines (22 loc) · 959 Bytes

Configure RBAC

In this section you'll create the RBAC roles.

A new ClusterRole project-admin is defined which has aggregated privileges of edit role and can also manage projects. Aggregated ClusterRoles are used to define the rbac.

kubectl create -f rbac/

What Happened

Once created you can see the ClusterRoles defined:

➜ kubectl get clusterrole -l app=project-initializer
NAME                 AGE
aggregate:projects   1m
project-admin        1m
➜ kubectl describe clusterrole project-admin
  ...
  Resources                                Non-Resource URLs  Resource Names  Verbs
  ---------                                -----------------  --------------  -----
  projects.tutorial.harbur.io              []                 []              [*]
  ...

Next Steps