From 297b1ed59df2bf6ab71c9b4ea849239e97d73f12 Mon Sep 17 00:00:00 2001
From: Ernest Chuang <echuang@revacomm.com>
Date: Fri, 17 Sep 2021 20:07:17 +0000
Subject: [PATCH] Resolve "Istio ingressgateway extraLabels value being
 stripped out"

---
 chart/templates/istio/controlplane/values.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/chart/templates/istio/controlplane/values.yaml b/chart/templates/istio/controlplane/values.yaml
index dcffbdbc2d..dd1c230437 100644
--- a/chart/templates/istio/controlplane/values.yaml
+++ b/chart/templates/istio/controlplane/values.yaml
@@ -34,6 +34,9 @@ ingressGateways:
 {{- range $name, $values := .Values.istio.ingressGateways }}
   {{ $name | nindent 2 }}:
     {{- toYaml (merge (dict "k8s" $values.kubernetesResourceSpec) (fromYaml (include "istio.ingressgateway.k8s" $values))) | nindent 4 }}
+    {{- if $values.extraLabels }} 
+    {{- toYaml (dict "extraLabels" $values.extraLabels) | nindent 4 }}
+    {{- end}}
 {{- end }}
 
 {{- if .Values.istio.gateways }}
-- 
GitLab