fix minio trying to access appVolumeMounts in distributed mode

This commit is contained in:
Stavros kois
2023-11-16 19:54:15 +02:00
committed by Stavros Kois
parent 2b5287e51d
commit 54c53dad8c
2 changed files with 9 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage
annotations:
title: MinIO
type: application
version: 1.7.20
version: 1.7.21
apiVersion: v2
appVersion: '2023-03-13'
kubeVersion: '>=1.16.0-0'

View File

@@ -49,7 +49,11 @@ spec:
- name: {{ .Chart.Name }}
{{ include "common.resources.limitation" . | nindent 10 }}
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
{{ if hasKey .Values "appVolumeMounts" }}
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
{{ else }}
volumeMounts:
{{ end }}
{{- include "minio.tlsKeysVolumeMount" . | nindent 12 }}
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
- name: extrappvolume-{{ $index }}
@@ -114,7 +118,11 @@ spec:
{{ end }}
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
{{ if hasKey .Values "appVolumeMounts" }}
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
{{ else }}
volumes:
{{ end }}
{{- include "minio.tlsKeysVolume" . | nindent 8 }}
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
- name: extrappvolume-{{ $index }}