2020-04-14 21:30:00 +00:00
|
|
|
{
|
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
2022-03-07 17:47:14 +00:00
|
|
|
"name": "8080",
|
2020-04-14 21:30:00 +00:00
|
|
|
"virtualHosts": [
|
|
|
|
{
|
|
|
|
"name": "db",
|
|
|
|
"domains": [
|
2020-07-07 15:43:04 +00:00
|
|
|
"db.ingress.*",
|
2022-03-07 17:47:14 +00:00
|
|
|
"db.ingress.*:8080"
|
2020-04-14 21:30:00 +00:00
|
|
|
],
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
],
|
2021-02-26 22:23:15 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
2020-04-14 21:30:00 +00:00
|
|
|
"nonce": "00000001"
|
|
|
|
}
|