Flat CR narrowed to recursive: false so it keeps serving the SMB credentials that immich-data-smb references by name.
40 lines
854 B
YAML
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 |