Repository navigation
Commit 233d927
committed
fix(kubernetes): accept chart's httproute spelling for service ingress kind
The Helm chart documents and passes serviceIngress.kind=httproute through
to the gateway TOML verbatim, but ServiceIngressKind's snake_case serde
rename only accepted http_route, so the documented value failed gateway
config validation and crashlooped the pod. route and ingress happened to
match both vocabularies, so only the httproute path was broken.
Accept httproute as a serde alias on the HttpRoute variant. The canonical
wire value stays http_route; tests cover both spellings and rejection of
unknown values.
Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>1 parent 72dfd92 commit 233d927
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
456 | 461 | | |
457 | 462 | | |
458 | 463 | | |
| |||
1304 | 1309 | | |
1305 | 1310 | | |
1306 | 1311 | | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
1307 | 1335 | | |
1308 | 1336 | | |
1309 | 1337 | | |
| |||
0 commit comments