helm: Mount /tmp as emptyDir (#1105)

Co-authored-by: houseme <housemecn@gmail.com>
Co-authored-by: loverustfs <hello@rustfs.com>
This commit is contained in:
Christian Simon
2025-12-15 08:59:28 +00:00
committed by GitHub
parent 7178a94792
commit 2e4ce6921b
2 changed files with 9 additions and 0 deletions

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

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