From 646902621b929a3dda5181637623b8068afef17e Mon Sep 17 00:00:00 2001 From: Chris Piraino Date: Fri, 8 May 2020 09:08:31 -0500 Subject: [PATCH] Set default protocol to http in TLS integration test --- .../config_entries.hcl | 47 +++++++++++-------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/test/integration/connect/envoy/case-ingress-gateway-tls/config_entries.hcl b/test/integration/connect/envoy/case-ingress-gateway-tls/config_entries.hcl index ff456c0d7d..9a24876301 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-tls/config_entries.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-tls/config_entries.hcl @@ -1,25 +1,34 @@ enable_central_service_config = true config_entries { - bootstrap { - kind = "ingress-gateway" - name = "ingress-gateway" - - tls { - enabled = true - } - - listeners = [ - { - port = 9999 + bootstrap = [ + { + kind = "proxy-defaults" + name = "global" + config { protocol = "http" - services = [ - { - name = "s1" - hosts = ["test.example.com"] - } - ] } - ] - } + }, + { + kind = "ingress-gateway" + name = "ingress-gateway" + + tls { + enabled = true + } + + listeners = [ + { + port = 9999 + protocol = "http" + services = [ + { + name = "s1" + hosts = ["test.example.com"] + } + ] + } + ] + } + ] }