From 6b61f42b0b6438a0f0b62afcce5fd51d08390ab6 Mon Sep 17 00:00:00 2001 From: Zaid Albirawi Date: Tue, 5 Nov 2024 08:12:37 -0500 Subject: [PATCH] Fix mdcb service (#352) Co-authored-by: Bojan <62008772+bojantyk@users.noreply.github.com> --- 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 }}