From b8bbe61b5cfa23c8037540ca47b858ec0c86320b Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 23 Nov 2025 15:48:57 +0100 Subject: [PATCH] Update paperless-ngx to version 0.25.4 and add probes This commit updates the paperless-ngx Helm chart to version 0.25.4, reflecting the latest version in Chart.yaml and in the README.md badge. The homepage URL has been changed to point to the new repository location. Additionally, liveness and readiness probes have been added to the values.yaml configuration. These probes utilize curl to check the application's health on localhost:8000, ensuring better handling of container lifecycles. The readiness probe starts after a 60-second delay, while the liveness probe has a longer delay of 120 seconds, helping to manage startup times effectively. No breaking changes are introduced, but users should review the new probes configuration for their deployments. --- charts/paperless-ngx/Chart.yaml | 2 +- charts/paperless-ngx/README.md | 16 +++++----------- charts/paperless-ngx/values.yaml | 30 ++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/charts/paperless-ngx/Chart.yaml b/charts/paperless-ngx/Chart.yaml index b3d59f9..b06a2cc 100644 --- a/charts/paperless-ngx/Chart.yaml +++ b/charts/paperless-ngx/Chart.yaml @@ -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.3 +version: 0.25.4 # renovate datasource=docker depName=ghcr.io/paperless-ngx/paperless-ngx appVersion: 2.20.0 kubeVersion: ">=1.28.0-0" diff --git a/charts/paperless-ngx/README.md b/charts/paperless-ngx/README.md index dc1cb3a..4fe1bef 100644 --- a/charts/paperless-ngx/README.md +++ b/charts/paperless-ngx/README.md @@ -2,16 +2,16 @@ paperless-ngx logo -![Version: 0.25.1](https://img.shields.io/badge/Version-0.25.1-informational?style=flat) +![Version: 0.25.4](https://img.shields.io/badge/Version-0.25.4-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) ![AppVersion: 2.20.0](https://img.shields.io/badge/AppVersion-2.20.0-informational?style=flat) A community-supported supercharged version of paperless: scan, index and archive all your physical documents -**Homepage:** +**Homepage:** **This chart is not maintained by the upstream project and any issues with the chart should be raised -[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=paperless-ngx&version=0.25.0)** +[here](https://git.cooltux.net/marko/HelmChartSammlung/issues/new?assignees=marko&labels=bug&template=bug_report.yaml&name=paperless-ngx&version=0.25.0)** ## Source Code @@ -34,12 +34,6 @@ Kubernetes: `>=1.28.0-0` To install the chart with the release name `paperless-ngx` -### OCI (Recommended) - -```console -helm install paperless-ngx oci://ghcr.io/gabe565/charts/paperless-ngx -``` - ### Traditional ```console @@ -68,13 +62,13 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm ```console helm install paperless-ngx \ --set env.TZ="America/New York" \ - gabe565/paperless-ngx + cooltux/paperless-ngx ``` Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. ```console -helm install paperless-ngx gabe565/paperless-ngx -f values.yaml +helm install paperless-ngx cooltux/paperless-ngx -f values.yaml ``` ## Custom configuration diff --git a/charts/paperless-ngx/values.yaml b/charts/paperless-ngx/values.yaml index a421a8e..14649d3 100644 --- a/charts/paperless-ngx/values.yaml +++ b/charts/paperless-ngx/values.yaml @@ -24,6 +24,36 @@ controllers: # -- Set the container timezone TZ: UTC # PAPERLESS_SECRET_KEY: "" + probes: + # 1. Readiness Probe (Wichtigste für den Traffic-Fluss) + readiness: + enabled: true + type: exec # Wechsel zu einem Ausführungsbefehl + command: + - /usr/bin/curl + - -f + - http://localhost:8000 + + # Wichtige Timing-Einstellungen für Paperless-ngx + initialDelaySeconds: 60 # Warten Sie 60 Sekunden, bevor Sie mit der Prüfung beginnen, da Paperless-ngx lange booten kann + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 5 # 5 aufeinanderfolgende Fehler, bevor der Pod als "not ready" gilt + + # 2. Liveness Probe (Wichtig für das Neustarten des Containers bei Absturz) + liveness: + enabled: true + type: exec # Wechsel zu einem Ausführungsbefehl + command: + - /usr/bin/curl + - -f + - http://localhost:8000 + + # Die Liveness Probe sollte eine längere Verzögerung haben + initialDelaySeconds: 120 + periodSeconds: 60 + timeoutSeconds: 5 + failureThreshold: 3 service: # -- Configures service settings for the chart.