mirror of https://github.com/hashicorp/consul
103 lines
3.0 KiB
Plaintext
103 lines
3.0 KiB
Plaintext
|
{
|
||
|
"nonce": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"name": "alt.api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"validateClusters": true,
|
||
|
"virtualHosts": [
|
||
|
{
|
||
|
"domains": [
|
||
|
"*"
|
||
|
],
|
||
|
"name": "alt.api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": {
|
||
|
"prefix": "/"
|
||
|
},
|
||
|
"route": {
|
||
|
"autoHostRewrite": true,
|
||
|
"cluster": "alt.api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"name": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"validateClusters": true,
|
||
|
"virtualHosts": [
|
||
|
{
|
||
|
"domains": [
|
||
|
"*"
|
||
|
],
|
||
|
"name": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": {
|
||
|
"prefix": "/"
|
||
|
},
|
||
|
"route": {
|
||
|
"autoHostRewrite": true,
|
||
|
"cluster": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"name": "cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"validateClusters": true,
|
||
|
"virtualHosts": [
|
||
|
{
|
||
|
"domains": [
|
||
|
"*"
|
||
|
],
|
||
|
"name": "cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": {
|
||
|
"prefix": "/"
|
||
|
},
|
||
|
"route": {
|
||
|
"autoHostRewrite": true,
|
||
|
"cluster": "cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"name": "prod.cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"validateClusters": true,
|
||
|
"virtualHosts": [
|
||
|
{
|
||
|
"domains": [
|
||
|
"*"
|
||
|
],
|
||
|
"name": "prod.cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": {
|
||
|
"prefix": "/"
|
||
|
},
|
||
|
"route": {
|
||
|
"autoHostRewrite": true,
|
||
|
"cluster": "prod.cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"versionInfo": "00000001"
|
||
|
}
|