Commit 726eb4d
committed
fix: update X-Gateway-Model-Name header to targetModel after resolution
When the ExternalModel CR name differs from targetModel, the
body-field-to-header plugin sets X-Gateway-Model-Name to the CR name
but the HTTPRoute rule matches on targetModel. The model-provider-resolver
now updates the header to targetModel after resolution, ensuring
Envoy route matching succeeds.1 parent 1c21104 commit 726eb4d
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
0 commit comments