From 6492960ea7367763109d9b2f71b427315a37ec66 Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Fri, 25 Jun 2021 11:24:04 -0400 Subject: [PATCH] remove deprecated fields in config --- terraform/templates/envoy-config.tmpl | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/terraform/templates/envoy-config.tmpl b/terraform/templates/envoy-config.tmpl index 3d35a92..98ef963 100644 --- a/terraform/templates/envoy-config.tmpl +++ b/terraform/templates/envoy-config.tmpl @@ -123,7 +123,19 @@ "name": "xds_cluster", "connect_timeout": "1s", "type": "strict_dns", - "http2_protocol_options": {}, + "typed_extension_protocol_options": { + "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { + "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", + "explicit_http_config": { + "http2_protocol_options": { + "connection_keepalive": { + "interval": "30s", + "timeout": "5s" + } + } + } + } + }, "load_assignment": { "cluster_name": "xds_cluster", "endpoints": [