Update Paperless AI Helm chart version and configuration
Some checks failed
Build Helm Chart / helm-package (push) Failing after 3s
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:
@ -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.2.0
|
||||
version: 0.3.0
|
||||
appVersion: 3.0.7
|
||||
keywords:
|
||||
- paperless-ai
|
||||
|
@ -44,6 +44,13 @@ spec:
|
||||
- name: http # Name des Ports.
|
||||
containerPort: {{ .Values.service.targetPort }} # Der Port, der im Container geöffnet ist.
|
||||
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:
|
||||
{{- range $key, $value := .Values.env }}
|
||||
- name: {{ $key }} # Name der Umgebungsvariable.
|
||||
|
@ -6,7 +6,7 @@ image:
|
||||
tag: ""
|
||||
|
||||
serviceAccount:
|
||||
create: true
|
||||
create: false
|
||||
annotations: {}
|
||||
name: ""
|
||||
|
||||
@ -16,8 +16,8 @@ service:
|
||||
targetPort: 30000
|
||||
|
||||
env:
|
||||
PUID: 1027
|
||||
PGID: 100
|
||||
# PUID: 1027
|
||||
# PGID: 100
|
||||
PAPERLESS_AI_PORT: 30000
|
||||
|
||||
# Konfiguration für persistente Speicherung (Persistent Volume Claim).
|
||||
@ -27,9 +27,22 @@ persistence:
|
||||
accessMode: ReadWriteOnce
|
||||
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.
|
||||
securityContext:
|
||||
enabled: true
|
||||
enabled: false
|
||||
pod:
|
||||
runAsUser: 1027
|
||||
runAsGroup: 100
|
||||
|
Reference in New Issue
Block a user