From 46e46df11505fa2cfe1fe2b667e1d66e1cdd28a4 Mon Sep 17 00:00:00 2001
From: Jimmy Bourque <jbourque@bridgephase.com>
Date: Mon, 30 Sep 2024 13:32:03 -0500
Subject: [PATCH] Accidentally removed an if condition, put it back

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

diff --git a/chart/templates/istio/values.yaml b/chart/templates/istio/values.yaml
index 1b389d54ab..acbeb921e4 100644
--- a/chart/templates/istio/values.yaml
+++ b/chart/templates/istio/values.yaml
@@ -91,6 +91,7 @@ ingressGateways:
   {{ if ne $values.enabled false }}
   {{ $name | nindent 2 }}:
     {{- toYaml (merge (dict "k8s" $values.kubernetesResourceSpec) (dict "k8s" $values.k8s) (fromYaml (include "istio.ingressgateway.k8s" $values))) | nindent 4 }}
+    {{- if $values.extraLabels }}
     {{- toYaml (dict "extraLabels" $values.extraLabels) | nindent 4 }}
     {{- end}}
   {{- end }}
-- 
GitLab