From 5bc72a6d46878682ad9de37de60b691f0bae0396 Mon Sep 17 00:00:00 2001 From: Artem Kladov Date: Wed, 24 Dec 2025 20:39:57 +0300 Subject: [PATCH] fix: correct secretName retrieval for wildcard certificate in non-production environments --- .helm/templates/20-ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.helm/templates/20-ingress.yaml b/.helm/templates/20-ingress.yaml index a4f4d07..c395766 100644 --- a/.helm/templates/20-ingress.yaml +++ b/.helm/templates/20-ingress.yaml @@ -33,7 +33,7 @@ spec: {{- if eq $.Values.werf.env "production" }} secretName: star-{{ .URL | replace "." "-" }} {{- else }} - secretName: {{ pluck $.Values.web.env $.Values.wildCertificateSecret | first | default $.Values.wildCertificateSecret._default }} + secretName: {{ pluck $.Values.werf.env $.Values.wildCertificateSecret | first | default $.Values.wildCertificateSecret._default }} {{- end }} rules: - host: {{ .URL }}