Commit 468e9ed
feat(chart/webapp): expose extraContainers, extraInitContainers, init/sidecar securityContext
Adds four optional values on the webapp deployment:
- webapp.extraContainers — sidecars (TLS terminator, log shipper,
audit agent, etc.)
- webapp.extraInitContainers — additional inits scheduled after the
built-in volume-permissions init
- webapp.initContainers.securityContext — overrides the default
`runAsUser: 1000` on the built-in
volume-permissions init container
- webapp.sidecarContainers.securityContext — overrides the default
`runAsUser: 1000, runAsNonRoot: true`
on the built-in token-syncer sidecar
Defaults are empty / unset, preserving current behavior. Mirrors the
pattern already supported on the supervisor chart. Lets operators
satisfy strict pod-security admission (PSA "restricted", FedRAMP/IL5,
OpenShift restricted SCC) without forking the chart.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 22a176e commit 468e9ed
2 files changed
Lines changed: 54 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
85 | 93 | | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
89 | 101 | | |
90 | 102 | | |
91 | 103 | | |
| 104 | + | |
92 | 105 | | |
93 | 106 | | |
94 | 107 | | |
| |||
414 | 427 | | |
415 | 428 | | |
416 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
417 | 433 | | |
418 | 434 | | |
419 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
175 | 213 | | |
176 | 214 | | |
177 | 215 | | |
| |||
0 commit comments