Commit 0c21654
fix(chart/supervisor): branch TRIGGER_API_URL + OTEL endpoint on nginx.tls.enabled
When nginx.tls.enabled, the webapp Service routes through the nginx-tls
sidecar's external TLS port (with oauth2-proxy auth_request on /). The
supervisor can't traverse that auth chain with plain HTTP — runtime
result is
400 The plain HTTP request was sent to HTTPS port
Point the supervisor at <fullname>-webapp-internal:<nginx.internalPort>
(TLS, no oauth2-proxy, app-token auth via TRIGGER_WORKER_TOKEN) when
nginx.tls.enabled — mirrors flat-era trigger-dev chart behavior and
the existing register-tasks job template's same conditional.
Caller responsibility: chart consumers who enable nginx.tls.enabled
must also render a <fullname>-webapp-internal Service that exposes
nginx.internalPort and selects webapp pods (e.g. via an umbrella
template alongside the upstream subchart, as GovSignals does).
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent e8ad21c commit 0c21654
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
139 | 143 | | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
253 | 258 | | |
254 | 259 | | |
255 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
256 | 264 | | |
| 265 | + | |
257 | 266 | | |
258 | 267 | | |
259 | 268 | | |
| |||
0 commit comments