mirror of
https://github.com/truenas/charts.git
synced 2026-04-04 19:29:22 +08:00
NAS-123771 / 24.04 / Add an extra validation for multi mode in MinIO (#1490)
* add a tiny extra validation for multi mode * bump common
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.0.12
|
||||
digest: sha256:debd30721d09ae8293b1cbdd9d0115981d40b47908be3035fc3cf657c9d5eedb
|
||||
generated: "2023-07-17T12:32:01.235901713+03:00"
|
||||
version: 1.1.0
|
||||
digest: sha256:752ce76025f5b61094bd2b18ca11693eb9d26d0dde4eb2e63cd2330cbffe9e73
|
||||
generated: "2023-08-29T16:08:18.154859959+03:00"
|
||||
|
||||
@@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage
|
||||
annotations:
|
||||
title: MinIO
|
||||
type: application
|
||||
version: 1.0.20
|
||||
version: 1.0.21
|
||||
apiVersion: v2
|
||||
appVersion: '2023-03-24'
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
@@ -14,7 +14,7 @@ maintainers:
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.0.12
|
||||
version: 1.1.0
|
||||
home: https://min.io
|
||||
icon: https://min.io/resources/img/logo/MINIO_wordmark.png
|
||||
sources:
|
||||
|
||||
Binary file not shown.
BIN
library/ix-dev/enterprise/minio/charts/common-1.1.0.tgz
Normal file
BIN
library/ix-dev/enterprise/minio/charts/common-1.1.0.tgz
Normal file
Binary file not shown.
@@ -42,7 +42,12 @@
|
||||
{{- fail "Expected Multi Mode to be enabled, when more than 1 storage mountPaths added" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $notAllowedKeys := (list "server") -}} {{/* Extend if needed */}}
|
||||
{{- range $item := .Values.minioMultiMode -}}
|
||||
{{- if (mustHas $item $notAllowedKeys) -}}
|
||||
{{- fail (printf "Key [%v] is not allowed as a Multi Mode argument" $item) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if hasPrefix "/" $item -}}
|
||||
{{- if or (contains "{" $item) (contains "}" $item) -}}
|
||||
{{- if not (contains "..." $item) -}}
|
||||
|
||||
Reference in New Issue
Block a user