From aaa5b37f2d94375a64b7ec8d33b2793484777ccf Mon Sep 17 00:00:00 2001
From: Michael McLeroy <michaelmcleroy@cloudfitsoftware.com>
Date: Tue, 20 Jul 2021 14:09:24 -0400
Subject: [PATCH] fix(istio): ingressgateway merge

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

diff --git a/chart/templates/istio/controlplane/values.yaml b/chart/templates/istio/controlplane/values.yaml
index 88ca0caa13..aa19a07b98 100644
--- a/chart/templates/istio/controlplane/values.yaml
+++ b/chart/templates/istio/controlplane/values.yaml
@@ -25,8 +25,8 @@ ingressGateways:
 
 {{- range $name, $values := .Values.istio.ingressGateways }}
   {{ $name | nindent 2 }}:
-  {{- toYaml (merge (dig $name "kubernetesResourceSpec" dict $.Values.istio) (fromYaml (include "istio.ingressgateway.k8s" $values))) | nindent 4 }}
-  {{- end }}
+    {{- toYaml (merge (dict "k8s" $values.kubernetesResourceSpec) (fromYaml (include "istio.ingressgateway.k8s" $values))) | nindent 4 }}
+{{- end }}
 
 {{- if .Values.istio.gateways }}
 gateways:
-- 
GitLab