consul/agent/xds/testdata/routes/mesh-gateway-with-exported-...

76 lines
1.8 KiB
Plaintext
Raw Normal View History

{
"nonce": "00000001",
"resources": [
{
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"name": "bar",
"validateClusters": true,
"virtualHosts": [
{
"domains": [
"*"
],
"name": "bar",
"routes": [
{
"match": {
"prefix": "/"
},
"route": {
"cluster": "exported~bar.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
}
}
]
}
]
},
{
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"name": "foo",
"validateClusters": true,
"virtualHosts": [
{
"domains": [
"*"
],
"name": "foo",
"routes": [
{
"match": {
"prefix": "/"
},
"route": {
"cluster": "exported~foo.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
}
}
]
}
]
},
{
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"name": "gir",
"validateClusters": true,
"virtualHosts": [
{
"domains": [
"*"
],
"name": "gir",
"routes": [
{
"match": {
"prefix": "/"
},
"route": {
"cluster": "exported~gir.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
}
}
]
}
]
}
],
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"versionInfo": "00000001"
}