minio/charts - inverse the condition to show the export storage (#2316)

* minio/charts - inverse the condition to show the export storage

* do not render export storage when distributed mode is on
This commit is contained in:
Stavros Kois
2024-04-01 12:14:33 +03:00
committed by GitHub
parent 1070f1a721
commit a71e13efe0
3 changed files with 4 additions and 2 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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:
enabled: true
type: emptyDir