Skip to content

Commit 3e1d643

Browse files
zuerchermattklein123
authored andcommitted
configs: match latest API changes (#4185)
Signed-off-by: Stephan Zuercher <[email protected]>
1 parent bc6a10c commit 3e1d643

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

bazel/repositories.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def _python_deps():
189189
build_file = "@envoy//bazel/external:twitter_common_finagle_thrift.BUILD",
190190
)
191191

192-
193192
# Bazel native C++ dependencies. For the depedencies that doesn't provide autoconf/automake builds.
194193
def _cc_deps():
195194
_repository_impl("grpc_httpjson_transcoding")

configs/envoy_front_proxy_v2.template.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
- name: envoy.health_check
4545
config:
4646
pass_through_mode: false
47-
endpoint: "/healthcheck"
47+
headers:
48+
- name: ":path"
49+
exact_match: "/healthcheck"
4850
- name: envoy.buffer
4951
config:
5052
max_request_bytes: 5242880
@@ -153,4 +155,4 @@ admin:
153155
socket_address:
154156
protocol: TCP
155157
address: 0.0.0.0
156-
port_value: 9901
158+
port_value: 9901

configs/envoy_service_to_service_v2.template.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
prefix: "/"
2424
headers:
2525
- name: content-type
26-
value: application/grpc
26+
exact_match: application/grpc
2727
route:
2828
cluster: local_service_grpc
2929
- match:
@@ -34,7 +34,9 @@
3434
- name: envoy.health_check
3535
config:
3636
pass_through_mode: true
37-
endpoint: "/healthcheck"
37+
headers:
38+
- name: ":path"
39+
exact_match: "/healthcheck"
3840
cache_time: 2.5s
3941
- name: envoy.buffer
4042
config:
@@ -168,8 +170,9 @@ static_resources:
168170
config_source:
169171
api_config_source:
170172
api_type: GRPC
171-
cluster_names:
172-
- rds
173+
grpc_services:
174+
envoy_grpc:
175+
cluster_name: "rds"
173176
route_config_name: rds_config_for_listener_1
174177
add_user_agent: true
175178
tracing:
@@ -430,7 +433,7 @@ static_resources:
430433
- collector-grpc.lightstep.com
431434
- name: cds_cluster
432435
connect_timeout: 0.25s
433-
type: STRICT_DNS
436+
type: STRICT_DNS
434437
lb_policy: ROUND_ROBIN
435438
hosts:
436439
- socket_address:
@@ -479,4 +482,4 @@ admin:
479482
socket_address:
480483
protocol: TCP
481484
address: 0.0.0.0
482-
port_value: 9901
485+
port_value: 9901

0 commit comments

Comments
 (0)