consul/agent/xds/testdata/routes/ingress-with-sds-service-le...

55 lines
1.3 KiB
Plaintext
Raw Normal View History

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