Commit fb54d51
fix: template HTTPRoute names when RELEASE_NAME_POSTFIX is overridden
The static httproute.yaml uses hardcoded resource names matching the
helmfile's default RELEASE_NAME_POSTFIX ("workload-autoscaler"). When
the nightly CI overrides this to "workload-autoscaling" (the guide
directory name), the deployed gateway and InferencePool get different
names than what the HTTPRoute references, causing the route to never
bind to the gateway. This results in all gateway requests returning
HTTP 404 — the root cause of the persistent health check failure
(curl exit code 22).
Fix: use yq to template the HTTPRoute's parentRef gateway name and
backendRef pool name based on the actual RELEASE_NAME_POSTFIX before
applying it.
Also improve the health check Job to capture and log the HTTP status
code separately (replacing -sf which suppresses it), making future
gateway routing issues much easier to diagnose.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>1 parent a316a3b commit fb54d51
2 files changed
+30
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
789 | 808 | | |
790 | 809 | | |
791 | 810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
| 363 | + | |
363 | 364 | | |
| 365 | + | |
364 | 366 | | |
365 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
366 | 373 | | |
367 | 374 | | |
368 | 375 | | |
| |||
372 | 379 | | |
373 | 380 | | |
374 | 381 | | |
375 | | - | |
| 382 | + | |
376 | 383 | | |
377 | 384 | | |
378 | 385 | | |
| |||
0 commit comments