FIX(immich): fix Immich for chart v0.10.x
- Update configuration for chart v0.10.x compatibility - Set library PVC size appropriately
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,88 +1,14 @@
|
||||
# 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
|
||||
|
||||
# Immich configuration
|
||||
immich:
|
||||
persistence:
|
||||
library:
|
||||
existingClaim: immich-library
|
||||
|
||||
# Server component
|
||||
server:
|
||||
enabled: true
|
||||
image:
|
||||
repository: ghcr.io/immich-app/immich-server
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
ingress:
|
||||
# Shared configuration for all components
|
||||
controllers:
|
||||
main:
|
||||
containers:
|
||||
main:
|
||||
enabled: true
|
||||
className: traefik
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
hosts:
|
||||
- host: immich0213.kro.kr
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
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
|
||||
|
||||
persistence:
|
||||
cache:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
storageClass: longhorn
|
||||
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:
|
||||
# External PostgreSQL connection
|
||||
DB_HOSTNAME: postgresql-rw.postgresql.svc.cluster.local
|
||||
DB_PORT: "5432"
|
||||
DB_DATABASE_NAME: immich
|
||||
@@ -93,12 +19,77 @@ env:
|
||||
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
|
||||
# Immich configuration
|
||||
immich:
|
||||
persistence:
|
||||
library:
|
||||
existingClaim: immich-library
|
||||
|
||||
# Disable internal PostgreSQL (using external)
|
||||
postgresql:
|
||||
enabled: false
|
||||
# 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
|
||||
controllers:
|
||||
main:
|
||||
containers:
|
||||
main:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
className: traefik
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
hosts:
|
||||
- host: immich0213.kro.kr
|
||||
paths:
|
||||
- path: /
|
||||
service:
|
||||
identifier: main
|
||||
tls:
|
||||
- secretName: immich-tls
|
||||
hosts:
|
||||
- immich0213.kro.kr
|
||||
|
||||
# Machine Learning component
|
||||
machine-learning:
|
||||
enabled: true
|
||||
controllers:
|
||||
main:
|
||||
containers:
|
||||
main:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
memory: 4Gi
|
||||
persistence:
|
||||
cache:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
type: persistentVolumeClaim
|
||||
accessMode: ReadWriteOnce
|
||||
storageClass: longhorn
|
||||
|
||||
@@ -9,4 +9,4 @@ spec:
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Gi
|
||||
storage: 5Gi
|
||||
|
||||
Reference in New Issue
Block a user