Skip to content

fix(charts): streaming-hub values header still claimed fsGroup replaces the pod security context - #1804

Merged
fredcamaral merged 1 commit into
developfrom
chore/streaming-hub-release-beta5
Jul 31, 2026
Merged

fix(charts): streaming-hub values header still claimed fsGroup replaces the pod security context#1804
fredcamaral merged 1 commit into
developfrom
chore/streaming-hub-release-beta5

Conversation

@fredcamaral

Copy link
Copy Markdown
Member

What

The aws.rolesAnywhere header in values.yaml still says fsGroup REPLACES streamingHub.podSecurityContext. #1769 changed that to a merge and updated the comment inside _deployment.tpl, but not this one — and values.yaml is the file operators read before turning the feature on, so the stale half is the one that misleads.

Now it describes what the template does: fsGroup is merged in and wins, every other pod-level setting survives, and the old replace behaviour is named as past so anyone who remembers it knows it changed.

Verification

Render, not reading — with rolesAnywhere on and a custom podSecurityContext:

securityContext:
  fsGroup: 65532
  runAsNonRoot: true
  seccompProfile:
    type: RuntimeDefault
  supplementalGroups:
  - 4242

helm lint clean.

It also unblocks the release, and that is deliberate

Stating it plainly rather than letting it look incidental.

#1799 restored this chart's README section, which is what makes the release script succeed — without it, update-chart-version-readme-bin exits 1 and the whole release job dies after semantic-release has already computed the version. But the Helm Release workflow has README.md in paths-ignore, so #1799 could not trigger a release itself. There is no workflow_dispatch on that workflow, and re-running the original failed run would check out the tree that lacks the section.

A change inside charts/streaming-hub/ is the only trigger available. Rather than an empty commit, this is the one real inconsistency still left in the chart — created by #1769 and missed by me when I fixed its sibling.

Merging this should publish 1.0.0-beta.5 on the normal OCI path, which stg-mt/streaming-hub in lerian-internal-gitops needs before its alpha package is deleted by helm-alpha-cleanup around 2026-08-03 03:00 UTC — after which that environment's render fails and nothing deploys there.

https://claude.ai/code/session_01AQHofhVKKGUbSo959SEn5r

…the pod security context

#1769 changed that block from replace to merge, and the comment inside
_deployment.tpl was updated with it. This header in values.yaml was not — it
still told operators that enabling rolesAnywhere discards
streamingHub.podSecurityContext. That is the file people read before turning the
feature on, so the stale half is the one that misleads.

Now describes what the template actually does: fsGroup is merged in and wins,
every other pod-level setting survives, and the old wholesale-replace behaviour
is named as past so anyone who remembers it knows it changed.

Verified by render, not by reading: with rolesAnywhere on and a custom
podSecurityContext, the pod gets fsGroup 65532 alongside runAsNonRoot,
seccompProfile and supplementalGroups. helm lint clean.

This commit also unblocks the release, and that is deliberate rather than
incidental. The Helm Release workflow triggers on push paths, and README.md is
in paths-ignore — so #1799, which restored the chart's README section and is what
makes the release script succeed, could not itself trigger a release. There is no
workflow_dispatch, and re-running the old failed run would check out the tree
without the section. A change inside charts/streaming-hub/ is the only trigger
available, and this was the one real inconsistency left in it.

Claude-Session: https://claude.ai/code/session_01AQHofhVKKGUbSo959SEn5r
@fredcamaral
fredcamaral requested a review from a team as a code owner July 31, 2026 22:32
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 52c7670f-b52c-418f-8df3-f6da6c0cb7fb

📥 Commits

Reviewing files that changed from the base of the PR and between f13017e and 3f4210e.

📒 Files selected for processing (1)
  • charts/streaming-hub/values.yaml

📝 Walkthrough

Walkthrough

The Roles Anywhere documentation now states that fsGroup: 65532 merges with streamingHub.podSecurityContext when enabled. Existing pod-level settings remain in place.

Changes

Roles Anywhere configuration

Layer / File(s) Summary
Document pod security context merging
charts/streaming-hub/values.yaml
The documentation states that Roles Anywhere preserves existing podSecurityContext settings while applying fsGroup: 65532.

Possibly related PRs

  • LerianStudio/helm#1769: Documents the podSecurityContext merge behavior introduced by AWS IAM Roles Anywhere support.
✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/streaming-hub-release-beta5

Comment @coderabbitai help to get the list of available commands.

@fredcamaral fredcamaral changed the title fix(streaming-hub): the values header still claimed fsGroup replaces the pod security context fix(charts): streaming-hub values header still claimed fsGroup replaces the pod security context Jul 31, 2026
@fredcamaral
fredcamaral merged commit 1a65198 into develop Jul 31, 2026
5 of 6 checks passed
@fredcamaral
fredcamaral deleted the chore/streaming-hub-release-beta5 branch July 31, 2026 22:47
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