Update Paperless AI Helm chart version and configuration
Some checks failed
Build Helm Chart / helm-package (push) Failing after 3s

Updated the Paperless AI Helm chart to version 0.3.0 to reflect
the latest changes and improvements. Modified the deployment.yaml
by adding liveness and readiness probes, which enhance the
resilience and monitoring of the application by checking its
availability and readiness to serve traffic.

Additionally, adjusted the values.yaml file to set the service
account creation to false and commented out the PUID and PGID
environment variables for increased flexibility and to avoid
potential permission issues during deployment. Note that the
securityContext settings for the Pod and Container have also
been changed to disable the pod's user/group settings, which
may affect how the application interacts with resources.
This commit is contained in:
2025-07-06 17:32:25 +02:00
parent a120d34f40
commit ef155f7733
3 changed files with 25 additions and 5 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
name: paperless-ai name: paperless-ai
description: Ein Helm Chart für Paperless AI, basierend auf der Docker Compose Konfiguration. description: Ein Helm Chart für Paperless AI, basierend auf der Docker Compose Konfiguration.
version: 0.2.0 version: 0.3.0
appVersion: 3.0.7 appVersion: 3.0.7
keywords: keywords:
- paperless-ai - paperless-ai

View File

@ -44,6 +44,13 @@ spec:
- name: http # Name des Ports. - name: http # Name des Ports.
containerPort: {{ .Values.service.targetPort }} # Der Port, der im Container geöffnet ist. containerPort: {{ .Values.service.targetPort }} # Der Port, der im Container geöffnet ist.
protocol: TCP # Das Protokoll des Ports. protocol: TCP # Das Protokoll des Ports.
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.envs }}
env: env:
{{- range $key, $value := .Values.env }} {{- range $key, $value := .Values.env }}
- name: {{ $key }} # Name der Umgebungsvariable. - name: {{ $key }} # Name der Umgebungsvariable.

View File

@ -6,7 +6,7 @@ image:
tag: "" tag: ""
serviceAccount: serviceAccount:
create: true create: false
annotations: {} annotations: {}
name: "" name: ""
@ -16,8 +16,8 @@ service:
targetPort: 30000 targetPort: 30000
env: env:
PUID: 1027 # PUID: 1027
PGID: 100 # PGID: 100
PAPERLESS_AI_PORT: 30000 PAPERLESS_AI_PORT: 30000
# Konfiguration für persistente Speicherung (Persistent Volume Claim). # Konfiguration für persistente Speicherung (Persistent Volume Claim).
@ -27,9 +27,22 @@ persistence:
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: 1Gi size: 1Gi
livenessProbe:
initialDelaySeconds: 60
httpGet:
path: /
# path: /health
port: http
readinessProbe:
initialDelaySeconds: 60
httpGet:
path: /
# path: /health
port: http
# Sicherheitskontext-Einstellungen für Pod und Container. # Sicherheitskontext-Einstellungen für Pod und Container.
securityContext: securityContext:
enabled: true enabled: false
pod: pod:
runAsUser: 1027 runAsUser: 1027
runAsGroup: 100 runAsGroup: 100