All checks were successful
Build Helm Chart / helm-package (push) Successful in 3s
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.
95 lines
2.0 KiB
YAML
95 lines
2.0 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
repository: clusterzx/paperless-ai
|
|
pullPolicy: IfNotPresent
|
|
tag: ""
|
|
|
|
serviceAccount:
|
|
create: false
|
|
annotations: {}
|
|
name: ""
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 30000
|
|
targetPort: 30000
|
|
|
|
env:
|
|
PUID: 1000
|
|
PGID: 2000
|
|
PAPERLESS_AI_PORT: 30000
|
|
|
|
# Konfiguration für persistente Speicherung (Persistent Volume Claim).
|
|
persistence:
|
|
enabled: true
|
|
storageClassName: ""
|
|
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: false
|
|
pod:
|
|
runAsUser: 1000
|
|
runAsGroup: 2000
|
|
fsGroup: 2000
|
|
container:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
# Konfiguration für Horizontal Pod Autoscaling (HPA).
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 10
|
|
targetCPUUtilizationPercentage: 80
|
|
|
|
# Ressourcenanforderungen und -limits für den Container.
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
# Node-Selector für die Pod-Platzierung.
|
|
nodeSelector: {}
|
|
|
|
# Toleranzen für die Pod-Platzierung auf Tainted Nodes.
|
|
tolerations: []
|
|
|
|
# Affinitätsregeln für die Pod-Platzierung.
|
|
affinity: {}
|
|
|
|
# Ingress-Konfiguration (optional, aber üblich für Webanwendungen).
|
|
ingress:
|
|
enabled: false
|
|
className: "" # Der Ingress-Klassenname (z.B. nginx, traefik).
|
|
annotations: {}
|
|
hosts:
|
|
- host: chart-example.local # Beispiel-Hostname.
|
|
paths:
|
|
- path: / # Der Pfad, der weitergeleitet werden soll.
|
|
pathType: ImplementationSpecific # Der Typ des Pfades (Prefix, Exact, ImplementationSpecific).
|
|
tls: [] # TLS-Konfiguration für den Ingress.
|
|
# - secretName: chart-example-tls # Name des Secrets, das das TLS-Zertifikat enthält.
|
|
# hosts:
|
|
# - chart-example.local # Hostnamen, für die das Zertifikat gültig ist.
|