From 601bde74633ae3399646976fecc819f51430ae0d Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 6 Jul 2025 18:15:10 +0200 Subject: [PATCH] Update Paperless AI chart version and environment settings This commit updates the version of the Paperless AI Helm chart from 0.4.0 to 0.5.0 to reflect new changes and improvements. The PUID and PGID environment variables have been changed from 1027 and 100 to 1000 and 2000, respectively, to better accommodate user and group permissions. Additionally, the resource requests and limits have been adjusted to specify CPU and memory requirements (100m CPU and 128Mi memory), ensuring that the container operates within defined resource constraints. This change enhances performance and stability, making the chart more suitable for various deployment environments. No breaking changes were introduced, but users should verify their permissions align with the new PUID and PGID settings. --- charts/paperless-ai/Chart.yaml | 2 +- charts/paperless-ai/values.yaml | 28 +++++++++++----------------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/charts/paperless-ai/Chart.yaml b/charts/paperless-ai/Chart.yaml index 4db1002..2fc50e9 100644 --- a/charts/paperless-ai/Chart.yaml +++ b/charts/paperless-ai/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: paperless-ai description: Ein Helm Chart für Paperless AI, basierend auf der Docker Compose Konfiguration. -version: 0.4.0 +version: 0.5.0 appVersion: 3.0.7 keywords: - paperless-ai diff --git a/charts/paperless-ai/values.yaml b/charts/paperless-ai/values.yaml index 10d3487..411c0c7 100644 --- a/charts/paperless-ai/values.yaml +++ b/charts/paperless-ai/values.yaml @@ -16,8 +16,8 @@ service: targetPort: 30000 env: - # PUID: 1027 - # PGID: 100 + PUID: 1000 + PGID: 2000 PAPERLESS_AI_PORT: 30000 # Konfiguration für persistente Speicherung (Persistent Volume Claim). @@ -44,9 +44,9 @@ readinessProbe: securityContext: enabled: false pod: - runAsUser: 1027 - runAsGroup: 100 - fsGroup: 100 + runAsUser: 1000 + runAsGroup: 2000 + fsGroup: 2000 container: allowPrivilegeEscalation: false capabilities: @@ -62,18 +62,12 @@ autoscaling: # Ressourcenanforderungen und -limits für den Container. resources: - {} - # Wir empfehlen in der Regel, keine Standardressourcen anzugeben und dies - # dem Benutzer zu überlassen. Dies erhöht auch die Chancen, dass Charts - # in Umgebungen mit geringen Ressourcen, wie Minikube, laufen. - # Wenn du Ressourcen angeben möchtest, kommentiere die folgenden Zeilen aus, - # passe sie bei Bedarf an und entferne die geschweiften Klammern nach 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi # Node-Selector für die Pod-Platzierung. nodeSelector: {}