Compare commits

..

2 Commits

Author SHA1 Message Date
070ca0e62c Update paperless-ngx chart version to 0.25.0
All checks were successful
Build Helm Chart / helm-package (push) Successful in 22s
The version number for the paperless-ngx chart has been
downgraded from 0.25.1 to 0.25.0 in the Chart.yaml file.
This change may have been necessary due to issues or bugs
identified in the 0.25.1 release that require reverting to
a more stable version. The appVersion remains unchanged at
2.20.0, and the kubeVersion requirement is still set to
"">=1.28.0-0".

No breaking changes are introduced with this version
rollback, but users should ensure that their deployments
are compatible with the features and functionality provided
in version 0.25.0.
2025-11-23 14:06:24 +01:00
ac8181519c Refactor hardcoded environment variables in common.yaml
Removed hardcoded environment variables from the `common.yaml` template and
refactored them to utilize the newly structured values from `Values.controllers.main.containers.main.env`.
This change enhances maintainability and clarity by aligning environmental
variables with the current values schema. Additionally, the code was cleaned
up by ensuring proper indentation and structure for readability.
No breaking changes or significant shifts in functionality were introduced;
the refactor merely improves the organization of environment configuration.
2025-11-23 14:05:37 +01:00
2 changed files with 42 additions and 42 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/
icon: https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/b948750/src-ui/src/assets/logo-notext.svg
type: application
version: 0.25.1
version: 0.25.0
# renovate datasource=docker depName=ghcr.io/paperless-ngx/paperless-ngx
appVersion: 2.20.0
kubeVersion: ">=1.28.0-0"

View File

@@ -1,50 +1,50 @@
{{/* Append the hardcoded settings */}}
{{- define "healthchecks.harcodedValues" -}}
env:
PAPERLESS_TIME_ZONE: {{ .Values.env.TZ }}
PAPERLESS_PORT: {{ quote .Values.service.main.ports.http.port }}
PAPERLESS_TIME_ZONE: {{ .Values.controllers.main.containers.main.env.TZ }}
PAPERLESS_PORT: {{ quote .Values.service.main.ports.http.port }}
{{- with .Values.ingress.main }}
{{- if and .enabled .hosts }}
PAPERLESS_URL: http{{ if .tls }}s{{ end }}://{{ (first .hosts).host }}
{{- end }}
{{- end }}
{{- with .Values.ingress.main }}
{{- if and .enabled .hosts }}
PAPERLESS_URL: http{{ if .tls }}s{{ end }}://{{ (first .hosts).host }}
{{- end }}
{{- end }}
{{- if .Values.postgresql.enabled }}
{{- with .Values.postgresql }}
PAPERLESS_DBENGINE: postgresql
PAPERLESS_DBHOST: {{ $.Release.Name }}-postgresql
PAPERLESS_DBNAME: {{ .auth.database }}
PAPERLESS_DBUSER: {{ default "postgres" .auth.username }}
PAPERLESS_DBPASS:
secretKeyRef:
name: {{ .auth.existingSecret | default (printf "%s-postgresql" $.Release.Name) }}
key: {{ if not .auth.password }}postgres-{{ end }}password
{{- end }}
{{- else if .Values.mariadb.enabled }}
{{- with .Values.mariadb}}
PAPERLESS_DBENGINE: mariadb
PAPERLESS_DBHOST: {{ $.Release.Name }}-mariadb
PAPERLESS_DBNAME: {{ .auth.database }}
PAPERLESS_DBUSER: {{ .auth.username }}
PAPERLESS_DBPASS:
secretKeyRef:
name: {{ .auth.existingSecret | default (printf "%s-mariadb" $.Release.Name) }}
key: mariadb-password
{{- end }}
{{- end }}
{{- if .Values.postgresql.enabled }}
{{- with .Values.postgresql }}
PAPERLESS_DBENGINE: postgresql
PAPERLESS_DBHOST: {{ $.Release.Name }}-postgresql
PAPERLESS_DBNAME: {{ .auth.database }}
PAPERLESS_DBUSER: {{ default "postgres" .auth.username }}
PAPERLESS_DBPASS:
secretKeyRef:
name: {{ .auth.existingSecret | default (printf "%s-postgresql" $.Release.Name) }}
key: {{ if not .auth.password }}postgres-{{ end }}password
{{- end }}
{{- else if .Values.mariadb.enabled }}
{{- with .Values.mariadb}}
PAPERLESS_DBENGINE: mariadb
PAPERLESS_DBHOST: {{ $.Release.Name }}-mariadb
PAPERLESS_DBNAME: {{ .auth.database }}
PAPERLESS_DBUSER: {{ .auth.username }}
PAPERLESS_DBPASS:
secretKeyRef:
name: {{ .auth.existingSecret | default (printf "%s-mariadb" $.Release.Name) }}
key: mariadb-password
{{- end }}
{{- end }}
{{- if .Values.redis.enabled }}
{{- with .Values.redis }}
A_REDIS_PASSWORD:
secretKeyRef:
name: {{ .auth.existingSecret | default (printf "%s-redis" $.Release.Name) }}
key: {{ .auth.existingSecretPasswordKey | default "redis-password" }}
PAPERLESS_REDIS: redis://{{ .auth.username }}:$(A_REDIS_PASSWORD)@{{ $.Release.Name }}-redis-master
{{- end }}
{{- end }}
{{- if .Values.redis.enabled }}
{{- with .Values.redis }}
A_REDIS_PASSWORD:
secretKeyRef:
name: {{ .auth.existingSecret | default (printf "%s-redis" $.Release.Name) }}
key: {{ .auth.existingSecretPasswordKey | default "redis-password" }}
PAPERLESS_REDIS: redis://{{ .auth.username }}:$(A_REDIS_PASSWORD)@{{ $.Release.Name }}-redis-master
{{- 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" . }}