feat(pvc): Add SecurityContext for faster mount
This commit is contained in:
parent
6f87207f2e
commit
6f29be30bd
@ -22,6 +22,11 @@ spec:
|
||||
operator: In
|
||||
values:
|
||||
- "amd64"
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
fsGroup: 1000
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
containers:
|
||||
- name: immich-server
|
||||
image: ghcr.io/immich-app/immich-server:v1.131.3
|
||||
@ -70,7 +75,13 @@ spec:
|
||||
image: redis:7.4.2
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
volumeMounts:
|
||||
- mountPath: "/data"
|
||||
name: immich-redis
|
||||
volumes:
|
||||
- name: immich-redis
|
||||
persistentVolumeClaim:
|
||||
claimName: immich-redis-pvc
|
||||
- name: immich-upload
|
||||
persistentVolumeClaim:
|
||||
claimName: immich-pvc
|
||||
|
Loading…
x
Reference in New Issue
Block a user