From 44675e004689fd089e6c2b72bd86fb8be95cb616 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 23 Nov 2025 08:54:25 +0100 Subject: [PATCH] Refactor image configuration in paperless-ngx chart 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. --- charts/paperless-ngx/values.yaml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/charts/paperless-ngx/values.yaml b/charts/paperless-ngx/values.yaml index fabb926..c877e79 100644 --- a/charts/paperless-ngx/values.yaml +++ b/charts/paperless-ngx/values.yaml @@ -2,16 +2,21 @@ # IMPORTANT NOTE # # This chart inherits from our common library chart. You can check the default values/options here: -# https://github.com/bjw-s/helm-charts/blob/a081de5/charts/library/common/values.yaml +# https://github.com/bjw-s-labs/helm-charts/commit/310fedbca8dfe180359e20b32b6a05da74ae2abd/charts/library/common/values.yaml # - -image: - # -- Image repository - repository: ghcr.io/paperless-ngx/paperless-ngx - # -- Image pull policy - pullPolicy: IfNotPresent - # -- Image tag - tag: 2.20.0 +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)