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