From 67b34acc2c4de95d076769a6892671ea246237d6 Mon Sep 17 00:00:00 2001 From: Pedro Parra Ortega Date: Tue, 15 Oct 2024 12:57:21 +0200 Subject: [PATCH] fix: allow wildcards on certificate generation (#524) 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 b5aa8030..5196db22 100644 --- a/charts/capsule-proxy/templates/certmanager.yaml +++ b/charts/capsule-proxy/templates/certmanager.yaml @@ -46,11 +46,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" . }}