fix: mount emptyDir to /.cache to fix Prisma permissions
This commit is contained in:
parent
17c9e8b74b
commit
833327c45f
|
|
@ -75,6 +75,8 @@ spec:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/litellm
|
mountPath: /etc/litellm
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: cache
|
||||||
|
mountPath: /.cache
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
|
|
@ -84,10 +86,12 @@ spec:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: false # litellm writes temp files
|
readOnlyRootFilesystem: false
|
||||||
capabilities:
|
capabilities:
|
||||||
drop: ["ALL"]
|
drop: ["ALL"]
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: litellm-config
|
name: litellm-config
|
||||||
|
- name: cache
|
||||||
|
emptyDir: {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue