mirror of
https://github.com/status-im/consul.git
synced 2025-02-08 11:54:12 +00:00
Make the mesh gateway changes to allow `local` mode for cluster peering data plane traffic
21 lines
355 B
HCL
21 lines
355 B
HCL
services {
|
|
name = "s1"
|
|
port = 8080
|
|
connect {
|
|
sidecar_service {
|
|
proxy {
|
|
upstreams = [
|
|
{
|
|
destination_name = "s2"
|
|
destination_peer = "primary-to-alpha"
|
|
local_bind_port = 5000
|
|
mesh_gateway {
|
|
mode = "local"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|