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:
|
sources:
|
||||||
- repoURL: ghcr.io/immich-app/immich-charts
|
- repoURL: ghcr.io/immich-app/immich-charts
|
||||||
chart: immich
|
chart: immich
|
||||||
targetRevision: 0.9.0
|
targetRevision: 0.10.3
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/immich/helm-values.yaml
|
- $values/immich/helm-values.yaml
|
||||||
|
|||||||
@@ -1,20 +1,61 @@
|
|||||||
# Immich Helm Values
|
# 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
|
# 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 configuration
|
||||||
immich:
|
immich:
|
||||||
persistence:
|
persistence:
|
||||||
library:
|
library:
|
||||||
existingClaim: immich-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 component
|
||||||
server:
|
server:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
controllers:
|
||||||
repository: ghcr.io/immich-app/immich-server
|
main:
|
||||||
pullPolicy: IfNotPresent
|
containers:
|
||||||
|
main:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -25,80 +66,30 @@ server:
|
|||||||
- host: immich0213.kro.kr
|
- host: immich0213.kro.kr
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
service:
|
||||||
|
identifier: main
|
||||||
tls:
|
tls:
|
||||||
- secretName: immich-tls
|
- secretName: immich-tls
|
||||||
hosts:
|
hosts:
|
||||||
- immich0213.kro.kr
|
- immich0213.kro.kr
|
||||||
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 256Mi
|
|
||||||
limits:
|
|
||||||
memory: 1Gi
|
|
||||||
|
|
||||||
# Machine Learning component
|
# Machine Learning component
|
||||||
machine-learning:
|
machine-learning:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
controllers:
|
||||||
repository: ghcr.io/immich-app/immich-machine-learning
|
main:
|
||||||
pullPolicy: IfNotPresent
|
containers:
|
||||||
|
main:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 512Mi
|
||||||
|
limits:
|
||||||
|
memory: 4Gi
|
||||||
persistence:
|
persistence:
|
||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
storageClass: longhorn
|
type: persistentVolumeClaim
|
||||||
accessMode: ReadWriteOnce
|
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
|
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
|
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ spec:
|
|||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 50Gi
|
storage: 5Gi
|
||||||
|
|||||||
Reference in New Issue
Block a user