mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 16:59:53 +08:00
fix minio trying to access appVolumeMounts in distributed mode
This commit is contained in:
committed by
Stavros Kois
parent
2b5287e51d
commit
54c53dad8c
@@ -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'
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user