Skip to content
Opsfolk

Security, topic 42 of 61

RBAC

Role-based access control grants permissions as rules of verbs on resources, such as get, list and watch on pods. A Role holds rules in one namespace and a ClusterRole across the cluster; a RoleBinding or ClusterRoleBinding gives them to users, groups or service accounts.

Permissions only add up: there is no deny rule. Grant the least that works, avoid wildcards, and check what someone can do with kubectl auth can-i.

On Opsfolk

Elsewhere

Your progress