From e071540975fc5042a982a01be55ba259879b0e3e Mon Sep 17 00:00:00 2001 From: Lucjan Bryndza Date: Tue, 13 Aug 2019 16:01:10 +0200 Subject: [PATCH] Fix identation in the ingress common template Fix inproper backend section identation in the common ingress config template Change-Id: I04c4eebc408a04aba0679ff5123e1a8503ffd912 Issue-ID: OOM-1508 Signed-off-by: Lucjan Bryndza --- kubernetes/common/common/templates/_ingress.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/common/common/templates/_ingress.tpl b/kubernetes/common/common/templates/_ingress.tpl index a2e5235bb4..9b274ad190 100644 --- a/kubernetes/common/common/templates/_ingress.tpl +++ b/kubernetes/common/common/templates/_ingress.tpl @@ -3,13 +3,13 @@ {{- if .Values.ingress.service -}} {{- range .Values.ingress.service }} - path: {{ .path }} - backend: + backend: serviceName: {{ .name }} servicePort: {{ .port }} {{- end }} {{- else -}} - path: {{ printf "/%s" .Chart.Name }} - backend: + backend: serviceName: {{ .Chart.Name }} servicePort: {{ .Values.service.externalPort }} {{- end -}} -- 2.16.6