mirror of https://github.com/hashicorp/consul
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
{
|
|
"nonce": "00000001",
|
|
"resources": [
|
|
{
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
"name": "8080_s1",
|
|
"virtualHosts": [
|
|
{
|
|
"domains": [
|
|
"s1.ingress.*",
|
|
"s1.ingress.*:8080"
|
|
],
|
|
"name": "s1",
|
|
"routes": [
|
|
{
|
|
"match": {
|
|
"prefix": "/"
|
|
},
|
|
"route": {
|
|
"cluster": "s1.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
"name": "8080_s2",
|
|
"virtualHosts": [
|
|
{
|
|
"domains": [
|
|
"s2.ingress.*",
|
|
"s2.ingress.*:8080"
|
|
],
|
|
"name": "s2",
|
|
"routes": [
|
|
{
|
|
"match": {
|
|
"prefix": "/"
|
|
},
|
|
"route": {
|
|
"cluster": "s2.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
"versionInfo": "00000001"
|
|
} |