From a5931861c1c01b4c9adf0a826e4f65e1737a458a Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Thu, 1 Jan 2026 00:29:54 +0900 Subject: [PATCH] FIX(immich): fix Immich for chart v0.10.x - Update configuration for chart v0.10.x compatibility - Set library PVC size appropriately --- immich/argocd.yaml | 2 +- immich/helm-values.yaml | 127 +++++++++++++++++++--------------------- immich/pvc.yaml | 2 +- 3 files changed, 61 insertions(+), 70 deletions(-) diff --git a/immich/argocd.yaml b/immich/argocd.yaml index 4a0bcda..8acd7f3 100644 --- a/immich/argocd.yaml +++ b/immich/argocd.yaml @@ -10,7 +10,7 @@ spec: sources: - repoURL: ghcr.io/immich-app/immich-charts chart: immich - targetRevision: 0.9.0 + targetRevision: 0.10.3 helm: valueFiles: - $values/immich/helm-values.yaml diff --git a/immich/helm-values.yaml b/immich/helm-values.yaml index 01494e2..76f71d5 100644 --- a/immich/helm-values.yaml +++ b/immich/helm-values.yaml @@ -1,20 +1,61 @@ # Immich Helm Values -# Chart: https://github.com/immich-app/immich-charts +# Chart: https://github.com/immich-app/immich-charts (v0.10.x) # Self-hosted photo and video management solution +# Shared configuration for all components +controllers: + main: + containers: + main: + env: + # External PostgreSQL connection + DB_HOSTNAME: postgresql-rw.postgresql.svc.cluster.local + DB_PORT: "5432" + DB_DATABASE_NAME: immich + DB_USERNAME: bluemayne + DB_PASSWORD: + valueFrom: + secretKeyRef: + name: immich-postgres-password + key: password + # Immich configuration immich: persistence: library: existingClaim: immich-library +# Valkey for job queue +valkey: + enabled: true + controllers: + main: + containers: + main: + image: + repository: docker.io/valkey/valkey + tag: 9.0-alpine + persistence: + data: + enabled: true + size: 1Gi + type: persistentVolumeClaim + accessMode: ReadWriteOnce + storageClass: longhorn + # Server component server: enabled: true - image: - repository: ghcr.io/immich-app/immich-server - pullPolicy: IfNotPresent - + controllers: + main: + containers: + main: + resources: + requests: + cpu: 10m + memory: 256Mi + limits: + memory: 1Gi ingress: main: enabled: true @@ -25,80 +66,30 @@ server: - host: immich0213.kro.kr paths: - path: / - pathType: Prefix + service: + identifier: main tls: - secretName: immich-tls hosts: - immich0213.kro.kr - resources: - requests: - cpu: 10m - memory: 256Mi - limits: - memory: 1Gi - # Machine Learning component machine-learning: enabled: true - image: - repository: ghcr.io/immich-app/immich-machine-learning - pullPolicy: IfNotPresent - + controllers: + main: + containers: + main: + resources: + requests: + cpu: 10m + memory: 512Mi + limits: + memory: 4Gi persistence: cache: enabled: true size: 10Gi - storageClass: longhorn + type: persistentVolumeClaim accessMode: ReadWriteOnce - - resources: - requests: - cpu: 10m - memory: 512Mi - limits: - memory: 4Gi - -# Redis/Valkey for job queue -valkey: - enabled: true - image: - repository: docker.io/valkey/valkey - tag: 9.0-alpine - - persistence: - data: - enabled: true - size: 1Gi storageClass: longhorn - accessMode: ReadWriteOnce - - resources: - requests: - cpu: 5m - memory: 64Mi - limits: - memory: 256Mi - -# External PostgreSQL configuration (using existing cloudnative-pg) -# Database connection via environment variables -env: - DB_HOSTNAME: postgresql-rw.postgresql.svc.cluster.local - DB_PORT: "5432" - DB_DATABASE_NAME: immich - DB_USERNAME: bluemayne - DB_PASSWORD: - valueFrom: - secretKeyRef: - name: immich-postgres-password - key: password - -# S3/MinIO storage for assets (optional - can use local storage instead) -# Uncomment below if you want to use MinIO for storage -# env: -# UPLOAD_LOCATION: /usr/src/app/upload -# IMMICH_MEDIA_LOCATION: /usr/src/app/upload - -# Disable internal PostgreSQL (using external) -postgresql: - enabled: false diff --git a/immich/pvc.yaml b/immich/pvc.yaml index ef9325a..3d43a68 100644 --- a/immich/pvc.yaml +++ b/immich/pvc.yaml @@ -9,4 +9,4 @@ spec: storageClassName: longhorn resources: requests: - storage: 50Gi + storage: 5Gi