Skip to content

fix(helm): wrap extraContainers with tpl to evaluate templates (#31877)#40616

Open
rusackas wants to merge 1 commit into
masterfrom
fix/helm-extra-containers-tpl
Open

fix(helm): wrap extraContainers with tpl to evaluate templates (#31877)#40616
rusackas wants to merge 1 commit into
masterfrom
fix/helm-extra-containers-tpl

Conversation

@rusackas
Copy link
Copy Markdown
Member

@rusackas rusackas commented Jun 1, 2026

SUMMARY

Closes #31877

init.extraContainers (and all other extraContainers fields) were rendered with plain toYaml, so Go template expressions inside them were passed through as literal strings instead of being evaluated. This PR wraps each one with tpl so template expressions work — matching the existing pattern already used for initContainers, extraVolumes, command, and envFromConfigMaps.

Affected deployments: supersetNode, supersetCeleryBeat, supersetCeleryFlower, supersetWorker, supersetWebsockets, init (job).

Bumps chart version 0.15.5 → 0.15.6 per the chart versioning policy; regenerates helm-docs README.

Co-authored by @cin (original fix in #31878 — this PR adds the version bump and helm-docs that were missing there).

BEFORE / AFTER SCREENSHOTS

N/A (Helm template change)

TESTING INSTRUCTIONS

  • helm template a chart with a tpl-using string in supersetNode.extraContainers and confirm it renders instead of appearing as a raw {{ }} literal.
  • Run helm lint helm/superset — should pass.

ADDITIONAL INFORMATION

🤖 Generated with Claude Code

All six deployment templates (beat, flower, worker, ws, node, init-job)
now evaluate extraContainers with `tpl` before rendering, matching the
existing pattern used for initContainers and extraVolumes. Bumps chart
version 0.15.5 → 0.15.6 per the chart versioning policy; regenerates
helm-docs README.

Co-authored-by: Craig Ingram <cin@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bito-code-review
Copy link
Copy Markdown
Contributor

bito-code-review Bot commented Jun 1, 2026

Code Review Agent Run #67519c

Actionable Suggestions - 0
Review Details
  • Files reviewed - 7 · Commit Range: 9791e57..9791e57
    • helm/superset/Chart.yaml
    • helm/superset/templates/deployment-beat.yaml
    • helm/superset/templates/deployment-flower.yaml
    • helm/superset/templates/deployment-worker.yaml
    • helm/superset/templates/deployment-ws.yaml
    • helm/superset/templates/deployment.yaml
    • helm/superset/templates/init-job.yaml
  • Files skipped - 1
    • helm/superset/README.md - Reason: Filter setting
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evaluate Templates in init.extraContainers

1 participant