Skip to content

docs: warn what the volumes and securityContext override rights grant#14

Merged
DrummyFloyd merged 2 commits into
mainfrom
docs/override-rights-warnings
Jul 25, 2026
Merged

docs: warn what the volumes and securityContext override rights grant#14
DrummyFloyd merged 2 commits into
mainfrom
docs/override-rights-warnings

Conversation

@DrummyFloyd

Copy link
Copy Markdown
Contributor

The allow-list gates the field, never its content: a delegated volumes
right lets a user mount any Secret sitting in the workspace namespace,
and securityContext includes privileged: true. Pod Security Admission
does not backstop the first — restricted permits secret and
projected volumes.

Says so plainly on the accepted-limitations page, gives the mental model
(delegate only to people you would trust with kubectl on the namespace),
points at the alternatives that keep the admin in control, and names the
cluster-side tools for partial trust. Cross-linked from the governance
concept page, where the fields are chosen.

The allow-list gates the field, never its content: a delegated `volumes`
right lets a user mount any Secret sitting in the workspace namespace,
and `securityContext` includes `privileged: true`. Pod Security Admission
does not backstop the first — `restricted` permits `secret` and
`projected` volumes.

Says so plainly on the accepted-limitations page, gives the mental model
(delegate only to people you would trust with kubectl on the namespace),
points at the alternatives that keep the admin in control, and names the
cluster-side tools for partial trust. Cross-linked from the governance
concept page, where the fields are chosen.
…ityContext

bootstrap-governance still listed `volumes` as granted by default; chart
0.3.0 drops it, so its table and warning bullet are updated (an upgrade
does not rewrite an existing policy CR).

Also: `podSecurityContext` joins the two other unbounded rights,
cephfs/rbd/iscsi scoped to non-`restricted` clusters, VAP redated to
GA 1.30 / beta 1.28, and the "never references Secrets" note narrowed
to env. Field-vs-content warning backported to v0.2.0, without the
default-policy paragraph that would invert there.
@DrummyFloyd
DrummyFloyd force-pushed the docs/override-rights-warnings branch from 19b63c6 to 8a4c092 Compare July 25, 2026 03:49
@DrummyFloyd
DrummyFloyd merged commit a8defb5 into main Jul 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant