Ensure uniqueness of generated locations #428
Labels
area/nginx-configuration
Relates to nginx configuration
bug
Something isn't working
good first issue
Good for newcomers
refined
Requirements are refined and the issue is ready to be implemented.
size/small
Estimated to be completed within ~2 days
Milestone
Describe the bug
For advanced content based routing, NKG generated auxiliary location for each match. However, those generated locations can clash with regular locations defined in an HTTPRoute and cause unintended behavior.
To Reproduce
Get
/coffee
with header "version:v2" :Should get response from
coffee-v2
, however the response comes fromcoffee-v1
:Expected behavior
The generated config (excerpts):
Your environment
The text was updated successfully, but these errors were encountered: