From 8e0de0403f393a98c9a200a64808d89ca52818e4 Mon Sep 17 00:00:00 2001 From: Nicolas Bonneval Date: Fri, 4 Jun 2021 11:12:20 +0200 Subject: [PATCH] Ingress tls secret name may be empty --- charts/matrix-synapse/templates/ingress.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/matrix-synapse/templates/ingress.yaml b/charts/matrix-synapse/templates/ingress.yaml index 83d0fc9..6f806f5 100644 --- a/charts/matrix-synapse/templates/ingress.yaml +++ b/charts/matrix-synapse/templates/ingress.yaml @@ -26,7 +26,9 @@ spec: {{- range .hosts }} - {{ . | quote }} {{- end }} + {{- if .secretName }} secretName: {{ .secretName }} + {{- end }} {{- end }} {{- end }} rules: