2019-08-19 17:19:44 +00:00
|
|
|
{
|
2023-03-03 16:13:25 +00:00
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
2019-08-19 17:19:44 +00:00
|
|
|
{
|
2023-03-03 16:13:25 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "db",
|
|
|
|
"virtualHosts": [
|
2019-08-19 17:19:44 +00:00
|
|
|
{
|
2023-03-03 16:13:25 +00:00
|
|
|
"name": "db",
|
|
|
|
"domains": [
|
2019-08-19 17:19:44 +00:00
|
|
|
"*"
|
|
|
|
],
|
2023-03-03 16:13:25 +00:00
|
|
|
"routes": [
|
2019-08-19 17:19:44 +00:00
|
|
|
{
|
2023-03-03 16:13:25 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2019-08-19 17:19:44 +00:00
|
|
|
},
|
2023-03-03 16:13:25 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "33s"
|
2019-08-19 17:19:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2023-03-03 16:13:25 +00:00
|
|
|
"validateClusters": true
|
2019-08-19 17:19:44 +00:00
|
|
|
}
|
|
|
|
],
|
2023-03-03 16:13:25 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"nonce": "00000001"
|
2019-08-19 17:19:44 +00:00
|
|
|
}
|