patch-paperless #40

Merged
marko merged 4 commits from patch-paperless into main 2025-11-23 13:06:37 +00:00
3 changed files with 47 additions and 48 deletions

View File

@@ -4,7 +4,7 @@ description: "A community-supported supercharged version of paperless: scan, ind
home: https://charts.gabe565.com/charts/paperless-ngx/ home: https://charts.gabe565.com/charts/paperless-ngx/
icon: https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/b948750/src-ui/src/assets/logo-notext.svg icon: https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/b948750/src-ui/src/assets/logo-notext.svg
type: application type: application
version: 0.25.1 version: 0.25.0
# renovate datasource=docker depName=ghcr.io/paperless-ngx/paperless-ngx # renovate datasource=docker depName=ghcr.io/paperless-ngx/paperless-ngx
appVersion: 2.20.0 appVersion: 2.20.0
kubeVersion: ">=1.28.0-0" kubeVersion: ">=1.28.0-0"

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" . }}

View File

@@ -20,7 +20,6 @@ controllers:
# @default -- See [values.yaml](./values.yaml) # @default -- See [values.yaml](./values.yaml)
# -- Set the resource requests / limits for the container. # -- Set the resource requests / limits for the container.
resources: {} resources: {}
env: env:
# -- Set the container timezone # -- Set the container timezone
TZ: UTC TZ: UTC