Kubernetes RBAC Scoping

RBAC misconfigurations grant too much. The scoping pattern that produces tight, reviewable RBAC.

Namespace-scoped

Kubernetes RBAC is the system that controls who can do what in the cluster. Done well, RBAC produces a least-privilege environment where every workload and user has exactly the permissions they need. Done poorly, RBAC produces over-privileged grants that defeat the purpose. The discipline is in scoping: choosing the smallest permission grant that allows the workload to do its job.

What namespace-scoping looks like:

Namespace scoping is the foundation. Without it, every permission grant has cluster-wide reach.

Specific verbs

The verbs in an RBAC rule determine what actions are allowed. Wildcard verbs (*) grant every action; specific verbs grant only the actions actually needed. The discipline is the same as for AWS IAM: enumerate the necessary actions; refuse the wildcard.

Specific verbs are where the principle of least privilege actually lives. Wildcards undermine the principle.

Quarterly review

RBAC drifts over time. New workloads add permissions; old workloads decommission but their bindings remain; team members change roles but their access stays the same. Without periodic review, the cluster accumulates permission cruft.

Cluster RBAC scoping is one of those security disciplines that requires sustained attention. Nova AI Ops integrates with Kubernetes RBAC inventory, surfaces over-permissive rules and stale bindings, and produces the per-cluster review report that the security team uses to drive cleanup.