* minio/charts - inverse the condition to show the export storage * do not render export storage when distributed mode is on
@@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage
annotations:
title: MinIO
type: application
-version: 2.0.3
+version: 2.0.4
apiVersion: v2
appVersion: "2023-03-13"
kubeVersion: ">=1.16.0-0"
@@ -182,7 +182,7 @@ questions:
description: The path to store Minio Export.
schema:
type: dict
- show_if: [["distributedMode", "=", true]]
+ show_if: [["distributedMode", "=", false]]
attrs:
- variable: type
label: Type
@@ -1,5 +1,6 @@
{{- define "minio.persistence" -}}
persistence:
+ {{- if not .Values.minioStorage.distributedMode }}
export:
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.minioStorage.export) | nindent 4 }}
@@ -12,6 +13,7 @@ persistence:
01-permissions:
mountPath: /mnt/directories/export
{{- end }}
+ {{- end }}
tmp:
type: emptyDir