Files
Kubernetes-Manifests/applications/immich/immich/immich-statefulset.yaml
T
Jeffrey c408522988 immich: migrate to envFrom with per-container InfisicalSecrets
Flat CR narrowed to recursive: false so it keeps serving the SMB credentials that immich-data-smb references by name.
2026-08-23 22:15:10 +02:00

40 lines
854 B
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
namespace: immich
name: immich
spec:
replicas: 1
selector:
matchLabels:
app: immich
serviceName: immich
template:
metadata:
labels:
app: immich
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 60
containers:
- name: immich
image: ghcr.io/immich-app/immich-server:v2.7.5
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "2Gi"
cpu: "2000m"
ports:
- containerPort: 2283
envFrom:
- secretRef:
name: immich-app-secrets
volumeMounts:
- name: photos
mountPath: /data
volumes:
- name: photos
persistentVolumeClaim:
claimName: immich-pvc