From d4ca55847328a0af95313e810fa05383fce80c12 Mon Sep 17 00:00:00 2001
From: Greg <miernicki_gregory@bah.com>
Date: Thu, 25 Jul 2024 14:44:14 -0500
Subject: [PATCH] =?UTF-8?q?=20=E2=9B=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 chart/templates/istio-gateway/namespace.yaml | 2 +-
 chart/templates/istiod/helmrelease.yaml      | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/chart/templates/istio-gateway/namespace.yaml b/chart/templates/istio-gateway/namespace.yaml
index acee7db97c..cff869abe6 100644
--- a/chart/templates/istio-gateway/namespace.yaml
+++ b/chart/templates/istio-gateway/namespace.yaml
@@ -5,7 +5,7 @@ metadata:
   name: istio-ingress
   labels:
     istio-gateway-managed: Reconcile
-    istio-injection: disabled
+    istio-injection: enabled
     app.kubernetes.io/name: istio-gateway
     app.kubernetes.io/component: "core"
     {{- include "commonLabels" . | nindent 4}}
diff --git a/chart/templates/istiod/helmrelease.yaml b/chart/templates/istiod/helmrelease.yaml
index 816fc46f10..ceae1710d2 100644
--- a/chart/templates/istiod/helmrelease.yaml
+++ b/chart/templates/istiod/helmrelease.yaml
@@ -57,6 +57,10 @@ spec:
 
   {{- if or .Values.gatekeeper.enabled .Values.kyvernoPolicies.enabled }}
   dependsOn:
+    {{- if .Values.istioBase.enabled }}
+    - name: istio-base
+      namespace: {{ .Release.Namespace }}
+    {{- end }}
     {{- if .Values.gatekeeper.enabled }}
     - name: gatekeeper
       namespace: {{ .Release.Namespace }}
-- 
GitLab