Skip to main content
Digital systems4 min read

27/09 edition: Kubernetes RBAC — review the access the task uses

A narrow review links identity, bindings and required requests, without equating reads with low risk or a new role with reduced privileges.

Updated
Author
Redação Velqory
Recovered day
2026-09-27
Actual publication
2026-10-05
Editorial review and verification
05/10/2026 · Europe/Lisbon
Nature
Retrospective analysis published on 5 October; it does not represent original publication on that date. Original, untested Velqory operational proposals; no drill or internal experience is claimed.
Review
Revalidate documentation and criteria before any intervention and whenever version or configuration changes.
Person uses a key on one cabinet compartment, with another key in a closed holder nearby.
Person uses a key on one cabinet compartment, with another key in a closed holder nearby. Generated conceptual scene; not documentation of an actual event, product or test.AI-generated image under Velqory editorial direction.

In brief

A narrow review links identity, bindings and required requests, without equating reads with low risk or a new role with reduced privileges.

  • Review every grant applicable to the identity, not just the new Role.
  • Separate status reads, Secret reads and workload creation.
  • Require evidence of denied requests as well as requests the task needs.

Which operation justifies each privilege?

This analysis recovers the 27 September edition, with actual publication on 5 October. The question addresses platform and application owners: does a service account need to observe one specific resource, or did it receive power to change an entire namespace because that solved an installation problem?

We propose reviewing one identity at a time, starting with a concrete task. For a hypothetical job-status collector, write down required resources, verbs and scope. The design below has not been implemented or tested by Velqory. It is not a ready-to-apply manifest, customer audit or declaration of cluster security.

A narrow rule does not cancel broad grants

The official reference explains that RBAC permissions are additive: there are no deny rules. Our operational interpretation is that adding a limited Role does not demonstrate reduced access if another grant remains.

Velqory proposal: preserve the complete chain between the chosen account, binding subjects and referenced rules. Include applicable group grants. Compare the effective set with the task, not only the latest file. The platform owner should justify each additional path or record it as a discrepancy to correct before declaring the review finished.

Read the binding, not just the role name

The documentation distinguishes a RoleBinding granting permissions within a namespace from a cluster-wide ClusterRoleBinding. A RoleBinding can reference a ClusterRole to grant permissions within the binding's namespace. The name ClusterRole alone does not establish granted access.

We propose separate dossier fields for the subject's account and namespace, the binding namespace and referenced role. Then specify the API request the application needs. Avoid a global conclusion such as 'read-only': say read what, where and through which grants. An ambiguous reference should block acceptance.

Reading does not mean low impact

Official good practices warn that get, list and watch on Secrets can expose their contents. In an entirely hypothetical scenario, a status collector receives list access to all resources to simplify setup. If that includes Secrets, the description 'only observes' does not limit what it reads.

For this collector, we propose excluding Secret reads and replacing broad authorization with a design tied to the status resources actually required. Do not collect secret contents to demonstrate the review. Preserve references and authorization decisions using synthetic data in an approved environment. An allowed response where denial was expected is grounds to reject the design.

Include the workload-creation path

Good-practice documentation warns that creating workloads in a namespace can provide indirect access to mountable resources and the access levels of service accounts in that namespace. Reviewing only direct Secret reads therefore misses this path.

We propose excluding workload creation from the collector unless there is a documented need and separate assessment. The application owner should describe the functional failure resulting from exclusion; 'the package requests it' is insufficient. If a legitimate need exists, treat it as its own decision, with permitted resources and evaluated boundaries. Do not claim absence of this permission removes every escalation path.

Accept one task and reject deviations

The matrix is an original, untested proposal. The operator collects decisions; a separate owner accepts scope. Preserve previous configuration for comparing differences, not for silently restoring excessive privileges when a failure appears.

After an authorized drill, document allowed and denied requests, configuration and identity used. Acceptance applies to that task and version. A new integration, binding or write requirement needs another review. For an SME, this boundary enables discussion with the provider without inventing a security certification.

Hypothetical status-collector acceptance

Velqory design, neither implemented nor tested.

RequestDecision ownerEvidencePass / fail
Required readApplication ownerResource, verb and namespacePass if task works within defined scope; fail without proof.
Additional grantsPlatformBinding and rule chainPass with justified set; fail with unknown grant.
SecretsSecurityAuthorization decision without real contentPass with expected denial; fail with improper read.
Create workloadsPlatform and applicationNeed or explicit exclusionPass without unnecessary creation; fail with unassessed path.

Consulted on the stated update date.

  1. 01Using RBAC AuthorizationKubernetes · SYS-KUBERNETES
  2. 02Role Based Access Control Good PracticesKubernetes · SYS-KUBERNETES
  3. 03Service AccountsKubernetes · SYS-KUBERNETES