From bdc614097ec345eedc479c20504555e5f5c4507b Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 23 Nov 2025 08:40:37 +0100 Subject: [PATCH] Add controller setting and persistence configurations 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. --- charts/paperless-ngx/values.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/charts/paperless-ngx/values.yaml b/charts/paperless-ngx/values.yaml index d7b87c2..fabb926 100644 --- a/charts/paperless-ngx/values.yaml +++ b/charts/paperless-ngx/values.yaml @@ -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.