diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-30 22:26:05 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-30 22:26:05 +0200 |
| commit | 58abecd57916dd6cd2e00a54fe8294891c3884df (patch) | |
| tree | 0a6a6bddf7f4c857a064478d36718337634f08fc /f3s/argocd-apps | |
| parent | 7546a83ca91fbb819d3dfb294539f7d2ab0bfa2f (diff) | |
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 <amp@ampcode.com>
Diffstat (limited to 'f3s/argocd-apps')
| -rw-r--r-- | f3s/argocd-apps/services/immich.yaml | 80 |
1 files changed, 76 insertions, 4 deletions
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 |
