fix: guard k3s issuer template against absent values

The `issuer.yaml` chart template dereferenced `.Values.global.issuer.enabled` without guarding against the value being absent, which yaml serialization omitted for apps without a per-app email, causing a nil-pointer render error that broke every k3s web deploy.
This commit is contained in:
Jose Diaz-Gonzalez committed 2026-07-19 04:34:40 -04:00
1 parent dc802ddd19
commit 90831a5504
3 files changed
+21 -2

No files matched your search

@@ -1,4 +1,4 @@
{{- if .Values.global.issuer.enabled }}
{{- if and .Values.global.issuer .Values.global.issuer.enabled }}
---
apiVersion: cert-manager.io/v1
kind: Issuer