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 }}