emissary-ingress / emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
https://www.getambassador.io
Apache License 2.0
4.32k stars 685 forks source link

issue-5714 - incorrect _cache_key generation fixed #5715

Closed sekar-saravanan closed 1 day ago

sekar-saravanan commented 4 days ago

Description

_cache_key is getting generated incorrectly for mappings in ir.json, when using header with regex. Always _cache_key should be in the format of {kind}-{version}-{name}-{namespace}. But header name is getting updated in the place of mapping name

Related Issues

https://github.com/emissary-ingress/emissary/issues/5714

Testing

manual tests

Checklist

kflynn commented 1 day ago

I'm going to close this in favor of #5716 – @sekar-saravanan, thanks! 🙂