From 7693a03c84c1631513039a167590b0a568f23b86 Mon Sep 17 00:00:00 2001 From: Nikolay Kolev Date: Wed, 20 Oct 2021 15:15:29 +0300 Subject: [PATCH] Fixed extra ingress annotations --- templates/gateway/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/gateway/ingress.yaml b/templates/gateway/ingress.yaml index b9123e1c..669950f7 100644 --- a/templates/gateway/ingress.yaml +++ b/templates/gateway/ingress.yaml @@ -12,8 +12,8 @@ metadata: nginx.ingress.kubernetes.io/proxy-connect-timeout: {{ .Values.deployment.ingress.timeout.connect | quote }} nginx.ingress.kubernetes.io/proxy-read-timeout: {{ .Values.deployment.ingress.timeout.read | quote }} nginx.ingress.kubernetes.io/proxy-send-timeout: {{ .Values.deployment.ingress.timeout.send | quote }} - {{- range $key, $value := .Values.deployment.ingress.annotations }} - {{ $key }}: {{ $value | quote }} + {{- with .Values.deployment.ingress.annotations }} + {{- toYaml . | nindent 4 }} {{- end }} spec: