All checks were successful
Build Helm Chart / helm-package (push) Successful in 22s
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.
173 lines
5.2 KiB
YAML
173 lines
5.2 KiB
YAML
#
|
|
# IMPORTANT NOTE
|
|
#
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
# https://github.com/bjw-s-labs/helm-charts/commit/310fedbca8dfe180359e20b32b6a05da74ae2abd/charts/library/common/values.yaml
|
|
#
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
containers:
|
|
main:
|
|
image:
|
|
# -- Image repository
|
|
repository: ghcr.io/paperless-ngx/paperless-ngx
|
|
# -- Image pull policy
|
|
pullPolicy: IfNotPresent
|
|
# -- Image tag
|
|
tag: 2.20.0
|
|
# -- Environment variables [[ref]](https://docs.paperless-ngx.com/configuration/)
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
# -- Set the resource requests / limits for the container.
|
|
resources: {}
|
|
env:
|
|
# -- 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.
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 8000
|
|
|
|
ingress:
|
|
# -- Enable and configure ingress settings for the chart under this key.
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
main:
|
|
enabled: false
|
|
# hosts:
|
|
# - host: chart-example.local
|
|
# paths:
|
|
# - path: /
|
|
# tls:
|
|
# - secretName: chart-example.local
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
persistence:
|
|
# -- Configure data volume settings for the chart under this key.
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
data:
|
|
enabled: false
|
|
globalMounts:
|
|
- path: /usr/src/paperless/data
|
|
retain: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
# -- Configure media volume settings for the chart under this key.
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
media:
|
|
enabled: false
|
|
globalMounts:
|
|
- path: /usr/src/paperless/media
|
|
retain: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
# -- Configure export volume settings for the chart under this key.
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
export:
|
|
enabled: true
|
|
globalMounts:
|
|
- path: /usr/src/paperless/export
|
|
retain: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
# -- Configure consume volume settings for the chart under this key.
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
consume:
|
|
enabled: true
|
|
globalMounts:
|
|
- path: /usr/src/paperless/consume
|
|
retain: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 4Gi
|
|
|
|
# -- Enable and configure postgresql database subchart under this key.
|
|
# If enabled, the app's db envs will be set for you.
|
|
# [[ref]](https://github.com/bitnami/charts/tree/main/bitnami/postgresql)
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
postgresql:
|
|
enabled: false
|
|
auth:
|
|
database: paperless
|
|
postgresPassword: changeme
|
|
primary:
|
|
persistence:
|
|
enabled: false
|
|
# storageClass: ""
|
|
# size: 8Gi
|
|
|
|
# -- Enable and configure mariadb database subchart under this key.
|
|
# If enabled, the app's db envs will be set for you.
|
|
# [[ref]](https://github.com/bitnami/charts/tree/main/bitnami/mariadb)
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
mariadb:
|
|
enabled: false
|
|
auth:
|
|
database: paperless
|
|
username: paperless
|
|
password: changeme
|
|
rootPassword: changeme
|
|
primary:
|
|
persistence:
|
|
enabled: false
|
|
# storageClass: ""
|
|
# size: 8Gi
|
|
|
|
# -- Enable and configure redis subchart under this key.
|
|
# If enabled, the app's Redis env will be set for you.
|
|
# [[ref]](https://github.com/bitnami/charts/tree/main/bitnami/redis)
|
|
# @default -- See [values.yaml](./values.yaml)
|
|
redis:
|
|
enabled: true
|
|
auth:
|
|
enabled: true
|
|
username: ""
|
|
# Use an existing secret for redis auth. Do this if you're using Argo to manage your instance or otherwise using helm template under the hood
|
|
# The secret name can vary, but the password key must be redis-password.
|
|
# existingSecret: paperless-redis
|
|
# existingSecretPasswordKey: redis-password
|
|
master:
|
|
persistence:
|
|
enabled: false
|
|
replica:
|
|
replicaCount: 0
|