mount export volume even if persistence is disabled (#15543)

This commit is contained in:
Pierre KELBERT 2022-08-17 17:50:32 +02:00 committed by GitHub
parent 701a82642b
commit 67cf15d036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,13 +82,11 @@ spec:
- name: minio-user - name: minio-user
mountPath: "/tmp/credentials" mountPath: "/tmp/credentials"
readOnly: true readOnly: true
{{- if .Values.persistence.enabled }}
- name: export - name: export
mountPath: {{ .Values.mountPath }} mountPath: {{ .Values.mountPath }}
{{- if .Values.persistence.subPath }} {{- if and .Values.persistence.enabled .Values.persistence.subPath }}
subPath: "{{ .Values.persistence.subPath }}" subPath: "{{ .Values.persistence.subPath }}"
{{- end }} {{- end }}
{{- end }}
{{- if .Values.extraSecret }} {{- if .Values.extraSecret }}
- name: extra-secret - name: extra-secret
mountPath: "/tmp/minio-config-env" mountPath: "/tmp/minio-config-env"