mirror of https://github.com/status-im/consul.git
73 lines
1.7 KiB
Plaintext
73 lines
1.7 KiB
Plaintext
|
{
|
||
|
"nonce": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"name": "bar",
|
||
|
"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",
|
||
|
"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",
|
||
|
"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"
|
||
|
}
|