mirror of https://github.com/hashicorp/consul
39 lines
986 B
Plaintext
39 lines
986 B
Plaintext
|
{
|
||
|
"versionInfo": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.api.v2.RouteConfiguration",
|
||
|
"name": "9191",
|
||
|
"virtualHosts": [
|
||
|
{
|
||
|
"name": "db",
|
||
|
"domains": [
|
||
|
"db.ingress.*",
|
||
|
"db.ingress.*:9191"
|
||
|
],
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": {
|
||
|
"path": "/fgrpc.PingServer/Ping"
|
||
|
},
|
||
|
"route": {
|
||
|
"cluster": "prefix.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"match": {
|
||
|
"prefix": "/"
|
||
|
},
|
||
|
"route": {
|
||
|
"cluster": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"validateClusters": true
|
||
|
}
|
||
|
],
|
||
|
"typeUrl": "type.googleapis.com/envoy.api.v2.RouteConfiguration",
|
||
|
"nonce": "00000001"
|
||
|
}
|