Files
k8scd/immich/helm-immich.yaml
T
2026-01-21 16:05:18 +01:00

132 lines
4.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: helm-immich
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true
project: default
sources:
- chart: immich
repoURL: https://immich-app.github.io/immich-charts
targetRevision: 0.10.3
helm:
values: |
controllers:
main:
containers:
main:
image:
tag: v1.125.7
env:
# Valkey (Redis replacement)
REDIS_HOSTNAME: '{{ printf "%s-valkey" .Release.Name }}'
IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
immich:
metrics:
enabled: false
persistence:
library:
existingClaim: immich-claim
# Enable Valkey (Redis replacement)
valkey:
enabled: true
persistence:
data:
enabled: true
size: 1Gi
storageClass: longhorn
type: persistentVolumeClaim
server:
enabled: true
controllers:
main:
containers:
main:
image:
repository: ghcr.io/immich-app/immich-server
pullPolicy: IfNotPresent
probes:
startup:
enabled: true
spec:
initialDelaySeconds: 0
timeoutSeconds: 1
periodSeconds: 5
failureThreshold: 1000
env:
# External PostgreSQL connection
DB_HOSTNAME: "immich-postgres-rw"
DB_PORT: "5432"
DB_USERNAME: "immich"
DB_DATABASE_NAME: "immich"
# Reference the CNPG secret for password
DB_PASSWORD:
valueFrom:
secretKeyRef:
name: immich-postgres-app
key: password
ingress:
main:
enabled: true
ingressClassName: nginx
annotations:
# proxy-body-size is set to 0 to remove the body limit on file uploads
nginx.ingress.kubernetes.io/proxy-body-size: "0"
cert-manager.io/cluster-issuer: prod-cluster-issuer
hosts:
- host: mbg.hensen.io
paths:
- path: "/"
service:
name: sol-auth-svc
port: 8002
# identifier: main
- host: foto.scoutingmbg.nl
paths:
- path: "/"
service:
name: sol-auth-svc
port: 8002
# identifier: main
tls:
- secretName: letsencrypt-prod
hosts:
- mbg.hensen.io
- foto.scoutingmbg.nl
machine-learning:
enabled: true
controllers:
main:
containers:
main:
image:
repository: ghcr.io/immich-app/immich-machine-learning
pullPolicy: IfNotPresent
env:
TRANSFORMERS_CACHE: /cache
HF_XET_CACHE: /cache/huggingface-xet
MPLCONFIGDIR: /cache/matplotlib-config
persistence:
cache:
enabled: true
size: 10Gi
type: emptyDir
accessMode: ReadWriteMany
destination:
server: https://kubernetes.default.svc
namespace: immich