From 31fe83e0817bc8945f30f44acc1219bf5f0c24c3 Mon Sep 17 00:00:00 2001 From: Zaid Albirawi Date: Thu, 31 Oct 2024 15:41:12 -0400 Subject: [PATCH] Fix mdcb service --- components/tyk-mdcb/templates/service-mdcb.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/tyk-mdcb/templates/service-mdcb.yaml b/components/tyk-mdcb/templates/service-mdcb.yaml index b6ebfe7f..8b88cdd0 100644 --- a/components/tyk-mdcb/templates/service-mdcb.yaml +++ b/components/tyk-mdcb/templates/service-mdcb.yaml @@ -19,6 +19,6 @@ spec: name: healthport selector: {{- include "tyk-mdcb.selectorLabels" . | nindent 4 }} - {{- if eq .Values.mdcb.service.type "LoadBalancer" }} - externalTrafficPolicy: {{ .Values.mdcb.service.externalTrafficPolicy }} - {{- end }} +{{- if eq .Values.mdcb.service.type "LoadBalancer" }} + externalTrafficPolicy: {{ .Values.mdcb.service.externalTrafficPolicy }} +{{- end }}