Files
HelmChartSammlung/charts/paperless-ngx/values.yaml
Marko Oldenburg d3a54f13b0 Refactor environment variables in deployment template
The environment variables for the Paperless-NGX deployment have been
refactored and moved into the main container section within the
Kubernetes deployment manifest. This change organizes the
environment variable definitions, enhancing readability and
maintainability.

Key modifications include:
- Moved the `env` section under `containers.main`, allowing for
  a clearer structure.
- Retained the logic for PostgreSQL, MariaDB, and Redis database
  configuration while ensuring environment variables are set
  within the context of the main application container.

This change does not introduce any breaking functionality, but
it does improve the clarity and intent of the configuration.
2025-11-23 13:01:43 +01:00

139 lines
4.0 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: ""
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
retain: true
mountPath: /usr/src/paperless/data
storageClass: ""
accessMode: ReadWriteOnce
size: 1Gi
# -- Configure media volume settings for the chart under this key.
# @default -- See [values.yaml](./values.yaml)
media:
enabled: false
retain: true
mountPath: /usr/src/paperless/media
storageClass: ""
accessMode: ReadWriteOnce
size: 8Gi
# -- Configure export volume settings for the chart under this key.
# @default -- See [values.yaml](./values.yaml)
export:
enabled: true
retain: true
mountPath: /usr/src/paperless/export
storageClass: ""
accessMode: ReadWriteOnce
size: 1Gi
# -- Configure consume volume settings for the chart under this key.
# @default -- See [values.yaml](./values.yaml)
consume:
enabled: true
retain: true
mountPath: /usr/src/paperless/consume
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