From 7d446833bbbac88ab01803de8b4deac9a0b5538a Mon Sep 17 00:00:00 2001
From: Jimmy Bourque <jbourque@bridgephase.com>
Date: Tue, 17 Dec 2024 18:29:06 +0000
Subject: [PATCH] Gateway tls bug

---
 chart/templates/istio/values.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chart/templates/istio/values.yaml b/chart/templates/istio/values.yaml
index dca48d62f9..4da481e9d3 100644
--- a/chart/templates/istio/values.yaml
+++ b/chart/templates/istio/values.yaml
@@ -121,7 +121,7 @@ gateways:
         number: 8443
         protocol: HTTPS
       {{- end }}
-      {{- if eq $servervalues.port.protocol "HTTPS"}}
+      {{- if or (eq $servervalues.port.protocol "HTTPS") (eq $servervalues.port.protocol "TLS") }}
       tls:
         {{- $tlsMode := (dig "tls" "mode" "SIMPLE" $servervalues) }}
         mode: {{ $tlsMode }}
-- 
GitLab