From 58abecd57916dd6cd2e00a54fe8294891c3884df Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 30 Jan 2026 22:26:05 +0200 Subject: Manage Immich Helm deployment via ArgoCD - Add Helm chart source to deploy immich-app/immich chart - Include yoga-videos PVC volume mount in server config - Persist configuration across redeployments - Keep custom resources deployment for PVs and PostgreSQL Amp-Thread-ID: https://ampcode.com/threads/T-019c1088-dc3e-701a-b064-5e50cf52b32a Co-authored-by: Amp --- f3s/argocd-apps/services/immich.yaml | 80 ++++++++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 4 deletions(-) (limited to 'f3s/argocd-apps/services') diff --git a/f3s/argocd-apps/services/immich.yaml b/f3s/argocd-apps/services/immich.yaml index d1c4b6d..7a5e823 100644 --- a/f3s/argocd-apps/services/immich.yaml +++ b/f3s/argocd-apps/services/immich.yaml @@ -7,10 +7,82 @@ metadata: - resources-finalizer.argocd.argoproj.io spec: project: default - source: - repoURL: http://git-server.cicd.svc.cluster.local/conf.git - targetRevision: master - path: f3s/immich/helm-chart + sources: + # Deploy custom resources first (PVs, PVCs, PostgreSQL) + - repoURL: http://git-server.cicd.svc.cluster.local/conf.git + targetRevision: master + path: f3s/immich/helm-chart + # Deploy Immich Helm chart with custom values + - repoURL: https://immich-app.github.io/immich/ + chart: immich + targetRevision: 0.10.3 + helm: + releaseName: immich + values: | + valkey: + enabled: true + persistence: + data: + enabled: true + type: persistentVolumeClaim + size: 1Gi + storageClass: "" + existingClaim: "immich-valkey-pvc" + immich: + persistence: + library: + existingClaim: "immich-library-pvc" + server: + enabled: true + controllers: + main: + containers: + main: + volumeMounts: + - name: yoga-videos + mountPath: /external/yoga-videos + readOnly: true + volumes: + - name: yoga-videos + persistentVolumeClaim: + claimName: immich-yoga-videos-pvc + readOnly: true + ingress: + main: + enabled: true + annotations: + spec.ingressClassName: traefik + traefik.ingress.kubernetes.io/router.entrypoints: web + traefik.ingress.kubernetes.io/router.middlewares: services-immich-body-size@kubernetescrd + hosts: + - host: immich.f3s.buetow.org + paths: + - path: "/" + service: + identifier: main + port: 2283 + machine-learning: + enabled: true + persistence: + cache: + enabled: true + type: persistentVolumeClaim + size: 10Gi + storageClass: "" + existingClaim: "immich-ml-cache-pvc" + controllers: + main: + containers: + main: + env: + DB_HOSTNAME: immich-postgres + DB_DATABASE_NAME: immich + DB_USERNAME: immich + DB_PASSWORD: + valueFrom: + secretKeyRef: + name: immich-db-secret + key: password destination: server: https://kubernetes.default.svc namespace: services -- cgit v1.2.3