helm: Mount /tmp as emptyDir (#1105)

Co-authored-by: houseme <[email protected]>
Co-authored-by: loverustfs <[email protected]>
This commit is contained in:
Christian Simon
2025-12-15 16:59:28 +08:00
committed by GitHub
co-authored by houseme loverustfs
parent 7178a94792
commit 2e4ce6921b
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -122,7 +122,11 @@ spec:
mountPath: /logs
- name: data
mountPath: /data
- name: tmp
mountPath: /tmp
volumes:
- name: tmp
emptyDir: {}
- name: logs
persistentVolumeClaim:
claimName: {{ include "rustfs.fullname" . }}-logs
+5
View File
@@ -135,6 +135,8 @@ spec:
readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 12 }}
volumeMounts:
- name: tmp
mountPath: /tmp
- name: logs
mountPath: {{ $logDir }}
{{- if eq (int .Values.replicaCount) 4 }}
@@ -146,6 +148,9 @@ spec:
- name: data
mountPath: /data
{{- end }}
volumes:
- name: tmp
emptyDir: {}
volumeClaimTemplates:
- metadata:
name: logs