Add controller setting and persistence configurations
Some checks failed
Build Helm Chart / helm-package (push) Failing after 20s

Updated the `values.yaml` file for the Paperless-ngx chart.
- Added a `controller` setting under the `main` service to specify
  the controller explicitly for better clarity and configuration.
- Removed the annotations under the `ingress.main` section to simplify
  the configuration for better customization, if needed in the future.
- Uncommented and defined `accessMode` and `size` for both the
  `export` and `consume` persistence volumes to ensure proper
  configuration is applied, thereby enabling persistent data storage.

These changes help in improving the chart's configurability
and ensure that default values for persistence settings are applied,
preventing issues with data retention. There are no breaking changes.
This commit is contained in:
2025-11-23 08:40:37 +01:00
parent 062744c989
commit bdc614097e

View File

@@ -24,6 +24,7 @@ service:
# -- Configures service settings for the chart.
# @default -- See [values.yaml](./values.yaml)
main:
controller: main
ports:
http:
port: 8000
@@ -33,8 +34,6 @@ ingress:
# @default -- See [values.yaml](./values.yaml)
main:
enabled: false
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 64m
# hosts:
# - host: chart-example.local
# paths:
@@ -70,8 +69,8 @@ persistence:
retain: true
mountPath: /usr/src/paperless/export
# storageClass: ""
# accessMode: ReadWriteOnce
# size: 1Gi
accessMode: ReadWriteOnce
size: 1Gi
# -- Configure consume volume settings for the chart under this key.
# @default -- See [values.yaml](./values.yaml)
consume:
@@ -79,8 +78,8 @@ persistence:
retain: true
mountPath: /usr/src/paperless/consume
# storageClass: ""
# accessMode: ReadWriteOnce
# size: 4Gi
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.