fix(helm): render when an upgrade reuses values from before the database block

The templates read the database settings through a default dict, so helm upgrade --reuse-values from a release without them no longer stops on a nil pointer; CI renders the chart with the block removed.
This commit is contained in:
Maurice
2026-11-23 15:08:02 +01:00
parent ca367d9cfc
commit 485fb93f78
3 changed files with 11 additions and 8 deletions
+1
View File
@@ -1187,6 +1187,7 @@ jobs:
--set 'extraVolumeMounts[0].mountPath=/usr/local/share/kitinerary/extractors' \
--set 'extraVolumeMounts[0].readOnly=true' \
--set probes.liveness=null \
--set database=null \
> "$out/variants.yaml"
helm template trek charts/trek \
--set httpRoute.enabled=true \