Skip to content

Commit 2c6b7e7

Browse files
committed
tmp, restart policy
1 parent f26a93e commit 2c6b7e7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

charts/rocketadmin/templates/deployment.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,16 @@ spec:
2929
fsGroup: 999
3030
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3131
{{- if .Values.pglite.enabled }}
32+
strategy:
33+
type: Recreate
3234
volumes:
3335
- name: rocketadmin-data
3436
persistentVolumeClaim:
3537
claimName: rocketadmin-data-pvc
38+
- name: tmp
39+
emptyDir:
40+
medium: Memory
41+
sizeLimit: 64Mi
3642
{{- end }}
3743
containers:
3844
- name: {{ .Chart.Name }}
@@ -51,6 +57,9 @@ spec:
5157
volumeMounts:
5258
- name: rocketadmin-data
5359
mountPath: /app/backend/pglite-storage
60+
- mountPath: /tmp
61+
name: tmp
62+
subPath: tmp
5463
{{- end }}
5564
livenessProbe:
5665
httpGet:

0 commit comments

Comments
 (0)