helm: add /tmp mount to post jobs (#17301)

This commit is contained in:
Bartosz Marczyński 2023-06-06 15:50:33 +02:00 committed by GitHub
parent 2f9e2147f5
commit 123a2fb3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,8 @@ spec:
volumes:
- name: etc-path
emptyDir: {}
- name: tmp
emptyDir: {}
- name: minio-configuration
projected:
sources:
@ -107,6 +109,8 @@ spec:
volumeMounts:
- name: etc-path
mountPath: /etc/minio
- name: tmp
mountPath: /tmp
- name: minio-configuration
mountPath: /config
{{- if .Values.tls.enabled }}
@ -138,6 +142,8 @@ spec:
volumeMounts:
- name: etc-path
mountPath: /etc/minio
- name: tmp
mountPath: /tmp
- name: minio-configuration
mountPath: /config
{{- if .Values.tls.enabled }}
@ -169,6 +175,8 @@ spec:
volumeMounts:
- name: etc-path
mountPath: /etc/minio
- name: tmp
mountPath: /tmp
- name: minio-configuration
mountPath: /config
{{- if .Values.tls.enabled }}
@ -200,6 +208,8 @@ spec:
volumeMounts:
- name: etc-path
mountPath: /etc/minio
- name: tmp
mountPath: /tmp
- name: minio-configuration
mountPath: /config
{{- if .Values.tls.enabled }}
@ -231,6 +241,8 @@ spec:
volumeMounts:
- name: etc-path
mountPath: /etc/minio
- name: tmp
mountPath: /tmp
- name: minio-configuration
mountPath: /config
{{- if .Values.tls.enabled }}
@ -239,4 +251,4 @@ spec:
{{- end }}
resources: {{- toYaml .Values.makeServiceAccountJob.resources | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}