From 628908279ad5681f54065c0eb09d6e4d8cc397d4 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Fri, 18 Dec 2020 11:53:25 +0100 Subject: [PATCH] fixed syntax --- chart/templates/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index 044c6fad4..7b978bd15 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -31,10 +31,10 @@ metadata: {{- end }} spec: {{- if .Values.ingress.tls.enabled }} + tls: {{- if .Values.ingress.tls.custom }} {{ toYaml .Values.ingress.tls.custom | indent 2 }} {{- else }} - tls: - hosts: {{- if .Values.service.commonName }} - {{ template "hostname" .Values.service.commonName }} -- GitLab