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.
101 lines
2.4 KiB
YAML
101 lines
2.4 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: 1027
|
|
# PGID: 100
|
|
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: 1027
|
|
runAsGroup: 100
|
|
fsGroup: 100
|
|
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:
|
|
{}
|
|
# 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
|
|
|
|
# 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.
|