feat(helm): add podSecurityContext - #175
Open
matlaj wants to merge 1 commit into
Open
Conversation
matlaj
requested review from
MarshallAsch and
cookandy
and removed request for
a team
August 23, 2026 21:00
…curityContext
`pms.securityContext` is documented as "Security context for PMS pods", but it
renders into the container's securityContext, and the chart has no pod-level
securityContext hook at all.
That mismatch silently discards pod-only fields. Setting `fsGroup` -- the
documented way to make the config volume group-writable -- produces a manifest
where `fsGroup` sits in a container securityContext, which the API server drops.
The chart installs cleanly and the setting simply never takes effect.
Add `pms.podSecurityContext`, rendered on the pod spec, and correct both doc
strings to say which level they apply to.
Backward compatible: `pms.securityContext` keeps rendering exactly where it did,
and the new value defaults to `{}`, which emits nothing.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
matlaj
force-pushed
the
fix/pod-security-context
branch
from
August 23, 2026 21:07
3316a65 to
07fadf4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pms.securityContextis documented as "Security context for PMS pods", but it renders into the container's securityContext, and the chart has no pod-level securityContext hook at all.That mismatch silently discards pod-only fields. Setting
fsGroup-- the documented way to make the config volume group-writable -- produces a manifest wherefsGroupsits in a container securityContext, which the API server drops. The chart installs cleanly and the setting simply never takes effect.Add
pms.podSecurityContext, rendered on the pod spec, and correct both doc strings to say which level they apply to.Backward compatible:
pms.securityContextkeeps rendering exactly where it did, and the new value defaults to{}, which emits nothing.Co-Authored-By: Claude Opus 5 noreply@anthropic.com