patch-paperless #40
@@ -1,7 +1,6 @@
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "healthchecks.harcodedValues" -}}
|
||||
env:
|
||||
PAPERLESS_TIME_ZONE: {{ .Values.env.TZ }}
|
||||
PAPERLESS_TIME_ZONE: {{ .Values.controllers.main.containers.main.env.TZ }}
|
||||
PAPERLESS_PORT: {{ quote .Values.service.main.ports.http.port }}
|
||||
|
||||
{{- with .Values.ingress.main }}
|
||||
@@ -44,7 +43,8 @@ env:
|
||||
{{- 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 */}}
|
||||
{{ include "bjw-s.common.loader.all" . }}
|
||||
Reference in New Issue
Block a user