Skip to content

Commit

Permalink
Merge de7888a into backport/api-gateway-header-filters/reasonably-wea…
Browse files Browse the repository at this point in the history
…lthy-elk
  • Loading branch information
hc-github-team-consul-core authored Jun 12, 2023
2 parents 31fd8c2 + de7888a commit 8204d08
Showing 1 changed file with 25 additions and 44 deletions.
Original file line number Diff line number Diff line change
@@ -1,69 +1,50 @@
{
"versionInfo": "00000001",
"resources": [
"versionInfo": "00000001",
"resources": [
{
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"name": "8080",
"virtualHosts": [
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"name": "8080",
"virtualHosts": [
{
"name": "api-gateway-listener-9b9265b",
"domains": [
"name": "api-gateway-listener-9b9265b",
"domains": [
"*",
"*:8080"
],
"routes": [
"routes": [
{
"match": {
"prefix": "/"
"match": {
"prefix": "/"
},
"route": {
"cluster": "service.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
"route": {
"cluster": "service.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
},
"requestHeadersToAdd": [
"requestHeadersToAdd": [
{
"header": {
"key": "X-Header-Add",
"value": "added"
"header": {
"key": "X-Header-Add",
"value": "added"
},
"append": true
"append": true
},
{
"header": {
"key": "X-Header-Set",
"value": "set"
"header": {
"key": "X-Header-Set",
"value": "set"
},
"append": false
"append": false
}
],
"requestHeadersToRemove": [
"requestHeadersToRemove": [
"X-Header-Remove"
]
}
],
"requestHeadersToAdd": [
{
"header": {
"key": "X-Header-Add",
"value": "added"
},
"append": true
},
{
"header": {
"key": "X-Header-Set",
"value": "set"
},
"append": false
}
],
"requestHeadersToRemove": [
"X-Header-Remove"
]
}
],
"validateClusters": true
"validateClusters": true
}
],
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"nonce": "00000001"
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"nonce": "00000001"
}

0 comments on commit 8204d08

Please sign in to comment.