2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
|
|
|
"resources": [
|
2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "v1.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2020-08-28 20:27:40 +00:00
|
|
|
"*"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "v1.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"routes": [
|
2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2020-08-28 20:27:40 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"autoHostRewrite": true,
|
|
|
|
"cluster": "v1.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"hashPolicy": [
|
2020-09-03 18:35:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"cookie": {
|
|
|
|
"name": "chocolate-chip"
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"terminal": true
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"header": {
|
|
|
|
"headerName": "x-user-id"
|
2020-09-03 18:35:11 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"connectionProperties": {
|
|
|
|
"sourceIp": true
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"terminal": true
|
2020-09-03 18:35:11 +00:00
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
],
|
|
|
|
"timeout": "0.200s"
|
2020-08-28 20:27:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2020-08-28 20:27:40 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "v2.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2020-08-28 20:27:40 +00:00
|
|
|
"*"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "v2.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"routes": [
|
2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2020-08-28 20:27:40 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"autoHostRewrite": true,
|
|
|
|
"cluster": "v2.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"hashPolicy": [
|
2020-09-03 18:35:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"cookie": {
|
|
|
|
"name": "chocolate-chip"
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"terminal": true
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"header": {
|
|
|
|
"headerName": "x-user-id"
|
2020-09-03 18:35:11 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"connectionProperties": {
|
|
|
|
"sourceIp": true
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"terminal": true
|
2020-09-03 18:35:11 +00:00
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
],
|
|
|
|
"timeout": "0.200s"
|
2020-08-28 20:27:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2020-08-28 20:27:40 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2020-08-28 20:27:40 +00:00
|
|
|
"*"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"routes": [
|
2020-08-28 20:27:40 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2020-08-28 20:27:40 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"autoHostRewrite": true,
|
|
|
|
"cluster": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"hashPolicy": [
|
2020-09-03 18:35:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"cookie": {
|
|
|
|
"name": "chocolate-chip"
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"terminal": true
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"header": {
|
|
|
|
"headerName": "x-user-id"
|
2020-09-03 18:35:11 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"connectionProperties": {
|
|
|
|
"sourceIp": true
|
2020-09-03 18:35:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"terminal": true
|
2020-09-03 18:35:11 +00:00
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
],
|
|
|
|
"timeout": "0.200s"
|
2020-08-28 20:27:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2020-08-28 20:27:40 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"versionInfo": "00000001"
|
2021-04-14 16:36:47 +00:00
|
|
|
}
|