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 -1
View File
@@ -46,7 +46,7 @@ type GlobalValues struct {
AppName string `yaml:"app_name"`
DeploymentID string `yaml:"deployment_id"`
Image GlobalImage `yaml:"image"`
Issuer AppIssuer `yaml:"issuer,omitempty"`
Issuer AppIssuer `yaml:"issuer"`
Labels ProcessLabels `yaml:"labels,omitempty"`
Keda GlobalKedaValues `yaml:"keda"`
Namespace string `yaml:"namespace"`