We have multiple destinations depending on what a header value is in gRPC. However these regexes match both routes, and all traffic seems to be going to subset v1-0-205. Say we have a header value of 18.104.22.168, we want that to go to subset v1-0-192. Is there a way we can have an order of preference?
routes: - match: - headers: content-api-version: regex: ^12\.[0-9]+\.[0-9]+\.[0-9]+$ route: - destination: subset: v1-0-205 - match: - headers: content-api-version: regex: ^12\.0\.(0\.[0-9]+|1\.([0-9]|[0-4][0-9]|5[0-4]))$ route: - destination: subset: v1-0-192
Thanks in advance for any input on this!