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:
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
|
||||
|
||||
Reference in new issue
Block a user