Some checks failed
Build Helm Chart / helm-package (push) Failing after 20s
This commit restructures the image configuration in the paperless-ngx Helm chart. The image repository, pull policy, and tag have been moved under a new `controllers` section to standardize the deployment options. The main controller is now explicitly defined with settings for type and replicas, improving clarity and maintainability of the values.yaml configuration. This change was necessary to align the structure with updated chart specifications and to facilitate future expansion of controller types within the chart. No breaking changes are introduced, but users should be aware of the new hierarchy in the configuration structure.
139 lines
3.9 KiB
YAML
139 lines
3.9 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:
|
|
enabled: true
|
|
type: deployment
|
|
replicas: 1
|
|
defaultContainerOptions:
|
|
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)
|
|
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
|