Uh oh!
There was an error while loading. Please reload this page.
feat(chart/supervisor): expose extraVolumes / extraVolumeMounts - #21
feat(chart/supervisor): expose extraVolumes / extraVolumeMounts#21ConProgramming wants to merge 3 commits into
Conversation
Mirrors the existing pattern on webapp + electric. Lets operators mount additional volumes into the supervisor container without forking the chart. Common cases: enterprise CA bundle for the supervisor's API client, custom config files, etc. Defaults preserve current behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
Wraps the new extras with `tpl (toYaml .) $` so operators can embed
Go-template directives in their values (e.g. `{{ include
"trigger-v4.fullname" . }}` for ConfigMap/Secret names that vary by
release). Backwards-compatible — `tpl` over a value without `{{ }}`
is a no-op.
Co-authored-by: Cursor <cursoragent@cursor.com>…vided as a templated string
Guard the new supervisor extraVolumes/extraVolumeMounts consumers with a
kindIs "string" check. Structured lists still render via tpl (toYaml .) $;
a YAML block-scalar string (as the GovSignals umbrella chart feeds it, with
embedded {{ include }} helpers) renders via tpl . $ directly, avoiding the
stray "|" block indicator that toYaml emits for strings and breaks list
parsing. Backward-compatible: list values render identically.
Co-authored-by: Cursor <cursoragent@cursor.com>ConProgramming
commented
Jun 1, 2026
Hardened the newly-exposed {{- with.Values.supervisor.extraVolumes }}
{{- if kindIs "string". }}
{{- tpl .$| nindent 8 }}
{{- else }}
{{- tpl (toYaml .) $| nindent 8 }}
{{- end }}
{{- end }}Why: when the field is supplied as a YAML block-scalar string containing Upstream-mergeability: lists still render identically (the Verified with |
Summary
Adds
supervisor.extraVolumes/supervisor.extraVolumeMountsHelm values, matching the existing pattern on webapp and electric. Lets operators mount enterprise CA bundles, custom config files, etc. into the supervisor container without forking the chart.~10 lines of YAML. Pure additive.
Notes
Made with Cursor