MDAPI: Create a non presitent volume to store metadata sqlite files
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
e41c406847
commit
535004d77c
2 changed files with 6 additions and 0 deletions
|
@ -20,9 +20,12 @@ spec:
|
|||
- mountPath: /etc/mdapi
|
||||
name: config-volume
|
||||
readOnly: true
|
||||
- mountPath: /var/tmp
|
||||
name: data-volume
|
||||
restartPolicy: Never
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 420
|
||||
name: mdapi-configmap
|
||||
name: config-volume
|
||||
- name: data-volume
|
||||
|
|
|
@ -26,6 +26,8 @@ spec:
|
|||
- name: config-volume
|
||||
mountPath: /etc/mdapi/
|
||||
readOnly: true
|
||||
- name: data-volume
|
||||
mountPath: /var/tmp/
|
||||
readinessProbe:
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: 60
|
||||
|
@ -43,6 +45,7 @@ spec:
|
|||
- name: config-volume
|
||||
configMap:
|
||||
name: mdapi-configmap
|
||||
- name: data-volume
|
||||
triggers:
|
||||
- type: ImageChange
|
||||
imageChangeParams:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue