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