Refactor Immich configuration to use templated values for images, ports, and storage. Remove obsolete config maps and secrets.

This commit is contained in:
2025-06-08 09:18:07 -07:00
parent d31c8388d3
commit 088741003f
10 changed files with 58 additions and 152 deletions

View File

@@ -15,20 +15,14 @@ spec:
component: machine-learning
spec:
containers:
- image: ghcr.io/immich-app/immich-machine-learning:release
- image: "{{ .config.apps.immich.mlImage }}"
name: immich-machine-learning
ports:
- containerPort: 3003
- containerPort: {{ .config.apps.immich.mlPort }}
protocol: TCP
envFrom:
- configMapRef:
name: config
env:
- name: TZ
valueFrom:
configMapKeyRef:
key: TZ
name: config
value: "{{ .config.apps.immich.timezone }}"
volumeMounts:
- mountPath: /cache
name: immich-cache