RoleBinding

The RBAC object that grants the permissions of a Role or ClusterRole to subjects within one namespace.

In more detail

roleRef names the role and subjects lists the users, groups or service accounts receiving it. roleRef cannot be changed after creation; you delete and recreate the binding instead.

Example

roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: web-reader

Related terms

Taught in

References

Certification courses