Skip to content

Commit 57970ed

Browse files
authored
Merge pull request #99 from rocket-admin/tmp
tmp, restart policy
2 parents 1faed95 + 2d09d8e commit 57970ed

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

charts/rocketadmin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: rocketadmin
33
description: Rocketadmin is a web-based application for creating admin panels for your projects.
44
type: application
55
icon: https://avatars.githubusercontent.com/u/84132223
6-
version: 1.0.3
6+
version: 1.0.4
77
home: https://rocketadmin.com
88
sources:
99
- https://github.com/rocket-admin/rocketadmin

charts/rocketadmin/templates/deployment.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@ spec:
2828
securityContext:
2929
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3030
{{- if .Values.pglite.enabled }}
31+
strategy:
32+
type: Recreate
3133
volumes:
3234
- name: rocketadmin-data
3335
persistentVolumeClaim:
3436
claimName: rocketadmin-data-pvc
37+
- name: tmp
38+
emptyDir:
39+
medium: Memory
40+
sizeLimit: 64Mi
3541
{{- end }}
3642
containers:
3743
- name: {{ .Chart.Name }}
@@ -50,6 +56,9 @@ spec:
5056
volumeMounts:
5157
- name: rocketadmin-data
5258
mountPath: /app/backend/pglite-storage
59+
- mountPath: /tmp
60+
name: tmp
61+
subPath: tmp
5362
{{- end }}
5463
livenessProbe:
5564
httpGet:

0 commit comments

Comments
 (0)