kumahq / kuma

🐻 The multi-zone service mesh for containers, Kubernetes and VMs. Built with Envoy. CNCF Sandbox Project.
https://kuma.io/install
Apache License 2.0
3.67k stars 333 forks source link

fix(gateway): invalid Envoy resources with real MeshService backends and `appProtocol: tcp` #12017

Open michaelbeaumont opened 1 week ago

michaelbeaumont commented 1 week ago

Motivation

We were generating invalid Envoy resources if using MeshHTTPRoute and the real backend had appProtocol: tcp.

We already weren't setting dest.Destination[mesh_proto.ServiceProtocol] when calling generateMeshCluster.