patch-paperless #40

Merged
marko merged 4 commits from patch-paperless into main 2025-11-23 13:06:37 +00:00
Showing only changes of commit ac8181519c - Show all commits

View File

@@ -1,7 +1,6 @@
{{/* Append the hardcoded settings */}} {{/* Append the hardcoded settings */}}
{{- define "healthchecks.harcodedValues" -}} {{- define "healthchecks.harcodedValues" -}}
env: PAPERLESS_TIME_ZONE: {{ .Values.controllers.main.containers.main.env.TZ }}
PAPERLESS_TIME_ZONE: {{ .Values.env.TZ }}
PAPERLESS_PORT: {{ quote .Values.service.main.ports.http.port }} PAPERLESS_PORT: {{ quote .Values.service.main.ports.http.port }}
{{- with .Values.ingress.main }} {{- with .Values.ingress.main }}
@@ -44,7 +43,8 @@ env:
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end -}} {{- end -}}
{{- $_ := merge .Values (include "healthchecks.harcodedValues" . | fromYaml) -}} {{- /* Mergt die Umgebungsvariablen in den 'env'-Block des Haupt-Containers */ -}}
{{- $_ := mergeOverwrite .Values.controllers.main.containers.main.env (include "healthchecks.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}} {{/* Render the templates */}}
{{ include "bjw-s.common.loader.all" . }} {{ include "bjw-s.common.loader.all" . }}