Kubernetes does not store a User object. I find this confusing. They are Right There in the Bindings.
When to engage in Role Play
Levels:
- If you can access the k8s cluster you are a god. If you cannot then you are nothing. Just guard the door carefully
- The principle of mid privilege: you want some RBAC but it’s not worth establishing the exact permissions that everyone requires and it is not a tragedy for users to personally moderate their usage of the system.
admin,edit,view - The principle of least privilege: time to hand-craft some artisanal
ClusterRoles
RBAC: Much Less Than You “Needed” To Know
Rolesare a set of permissionsBindinggrants them to usersAggregatingallows Roles to inherit from other Roles