Skip to content

Fix rendering of mimir-distributed 4.3.0 Helm chart for OpenShift with Helm 3.17.1#27

Merged
simu merged 5 commits intomasterfrom
fix/rbac-scc-helm-3.17.1
Jan 21, 2026
Merged

Fix rendering of mimir-distributed 4.3.0 Helm chart for OpenShift with Helm 3.17.1#27
simu merged 5 commits intomasterfrom
fix/rbac-scc-helm-3.17.1

Conversation

@simu
Copy link
Member

@simu simu commented Feb 25, 2025

Helm 3.17.1 has fixed a long-standing bug which affects how sub-chart values are merged in helm/helm#13654. The Commodore 1.27.3 image uses Helm 3.17.1.

Somehow, the fix breaks the suggested configuration for the mimir-distributed chart when setting rbac.type=scc, since the null value overrides for the sub-chart fields are now explicitly visible as fields with value null.

This breaks the validation logic which checks the presence of the fields We adjust the validation by copying a fixed validate.yaml into the downloaded helm chart. However, this now injects null values in the rendered manifest, so we also add a postprocessing filter to delete those nulls.

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.

@simu simu added the bug Something isn't working label Feb 25, 2025
@simu simu force-pushed the fix/rbac-scc-helm-3.17.1 branch from e3068f5 to 8a3ff27 Compare February 25, 2025 10:39
simu added 3 commits January 20, 2026 11:50
…h Helm 3.17.1

Helm 3.17.1 has fixed a long-standing bug which affects how sub-chart
values are merged in helm/helm#13654. The
Commodore 1.27.3 image uses Helm 3.17.1.

Somehow, the fix breaks the suggested configuration for the
mimir-distributed chart when setting `rbac.type=scc`, since the `null`
value overrides for the sub-chart fields are now explicitly visible as
fields with value `null`.

This breaks the validation logic which checks the presence of the fields
We adjust the validation by copying a fixed `validate.yaml` into the
downloaded helm chart. However, this now injects `null` values in the
rendered manifest, so we also add a postprocessing filter to delete
those nulls.
Rendered from template version: main (98d16f9)
@simu simu force-pushed the fix/rbac-scc-helm-3.17.1 branch from 80195dc to 42769b7 Compare January 20, 2026 10:57
@simu simu requested a review from a team January 20, 2026 11:06
@github-actions
Copy link

github-actions bot commented Jan 20, 2026

🚀 This PR has been released as v3.0.1

Triggering workflows Release

🛠️ Auto tagging enabled with label bump:patch

@simu simu requested a review from bastjan January 20, 2026 12:35
NOTE: This requires Commodore v1.31.0 or newer
@simu simu force-pushed the fix/rbac-scc-helm-3.17.1 branch from beaba01 to 404af5b Compare January 20, 2026 12:40
@simu simu merged commit f1ca817 into master Jan 21, 2026
11 checks passed
@simu simu deleted the fix/rbac-scc-helm-3.17.1 branch January 21, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working bump:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants