From fa274b581cb4566ff2bab12ddff32cc66e21e380 Mon Sep 17 00:00:00 2001 From: Pedro Parra Ortega Date: Thu, 12 Sep 2024 10:41:58 +0200 Subject: [PATCH] fix: allow wildcards on certificate generation Signed-off-by: Pedro Parra Ortega --- charts/capsule-proxy/templates/certmanager.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/capsule-proxy/templates/certmanager.yaml b/charts/capsule-proxy/templates/certmanager.yaml index b34c1813..2bd0dec2 100644 --- a/charts/capsule-proxy/templates/certmanager.yaml +++ b/charts/capsule-proxy/templates/certmanager.yaml @@ -42,11 +42,11 @@ spec: dnsNames: {{- if .Values.ingress.enabled -}} {{- range $hosts := .Values.ingress.hosts }} - - {{ $hosts.host }} + - {{ $hosts.host | quote }} {{- end }} {{- end }} {{- range $dns := .Values.certManager.certificate.dnsNames }} - - {{ $dns }} + - {{ $dns | quote }} {{- end }} {{- if $.Values.certManager.certificate.includeInternalServiceNames }} - {{ include "capsule-proxy.fullname" . }}