2023-03-17 17:31:04 +00:00
|
|
|
{
|
2023-06-12 16:06:04 +00:00
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
2023-03-17 17:31:04 +00:00
|
|
|
{
|
2023-06-12 16:06:04 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "8080",
|
|
|
|
"virtualHosts": [
|
2023-03-17 17:31:04 +00:00
|
|
|
{
|
2023-06-12 16:06:04 +00:00
|
|
|
"name": "api-gateway-listener-9b9265b",
|
|
|
|
"domains": [
|
2023-03-17 17:31:04 +00:00
|
|
|
"*",
|
|
|
|
"*:8080"
|
|
|
|
],
|
2023-06-12 16:06:04 +00:00
|
|
|
"routes": [
|
2023-03-17 17:31:04 +00:00
|
|
|
{
|
2023-06-12 16:06:04 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2023-03-17 17:31:04 +00:00
|
|
|
},
|
2023-06-12 16:06:04 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "service.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
|
|
|
},
|
|
|
|
"requestHeadersToAdd": [
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "X-Header-Add",
|
|
|
|
"value": "added"
|
|
|
|
},
|
|
|
|
"append": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "X-Header-Set",
|
|
|
|
"value": "set"
|
|
|
|
},
|
|
|
|
"append": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"requestHeadersToRemove": [
|
|
|
|
"X-Header-Remove"
|
|
|
|
]
|
2023-03-17 17:31:04 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2023-06-12 16:06:04 +00:00
|
|
|
"validateClusters": true
|
2023-03-17 17:31:04 +00:00
|
|
|
}
|
|
|
|
],
|
2023-06-12 16:06:04 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"nonce": "00000001"
|
2023-03-17 17:31:04 +00:00
|
|
|
}
|