Commit 1ee74b7
fix(chart): render webapp/electric extras when provided as a templated string
Guard the new extraInitContainers/extraContainers (webapp) and
extraVolumes/extraVolumeMounts (electric) consumers with a kindIs "string"
check. When the value is a structured list it still renders via
tpl (toYaml .) $ as before; when it is a YAML block-scalar string
(as the GovSignals umbrella chart feeds it, with embedded {{ include }}
helpers) it is rendered 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>1 parent 76180da commit 1ee74b7
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
| 106 | + | |
99 | 107 | | |
100 | 108 | | |
101 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
428 | 432 | | |
429 | 433 | | |
430 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
431 | 438 | | |
432 | 439 | | |
| 440 | + | |
433 | 441 | | |
434 | 442 | | |
435 | 443 | | |
| |||
0 commit comments