mirror of
https://github.com/truenas/charts.git
synced 2026-02-12 23:06:13 +08:00
Make minio data mount path configurable
This commit is contained in:
@@ -16,4 +16,4 @@ sources:
|
||||
- https://github.com/minio/minio
|
||||
- https://github.com/minio/charts
|
||||
upstream_version: 8.0.5
|
||||
version: 1.6.39
|
||||
version: 1.6.40
|
||||
@@ -211,9 +211,8 @@ questions:
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
hidden: true
|
||||
editable: false
|
||||
default: "/export"
|
||||
immutable: true
|
||||
- variable: hostPathEnabled
|
||||
label: "Enable Host Path for Minio Data Volume"
|
||||
schema:
|
||||
@@ -60,7 +60,7 @@ Retrieve command for minio application
|
||||
{{- if .Values.distributedMode -}}
|
||||
{{- cat $arg (join " " (concat (.Values.distributedIps | default list) (.Values.extraArgs | default list))) -}}
|
||||
{{- else -}}
|
||||
{{- cat $arg ((concat (list (printf "--address ':%d'" (.Values.service.nodePort | int))) (list "/export") (.Values.extraArgs | default list)) | join " ") -}}
|
||||
{{- cat $arg ((concat (list (printf "--address ':%d'" (.Values.service.nodePort | int))) (list (printf "%s" .Values.appVolumeMounts.export.mountPath)) (.Values.extraArgs | default list)) | join " ") -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -16,4 +16,4 @@ sources:
|
||||
- https://github.com/minio/minio
|
||||
- https://github.com/minio/charts
|
||||
upstream_version: 8.0.5
|
||||
version: 1.6.39
|
||||
version: 1.6.40
|
||||
@@ -211,9 +211,8 @@ questions:
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
hidden: true
|
||||
editable: false
|
||||
default: "/export"
|
||||
immutable: true
|
||||
- variable: hostPathEnabled
|
||||
label: "Enable Host Path for Minio Data Volume"
|
||||
schema:
|
||||
@@ -60,7 +60,7 @@ Retrieve command for minio application
|
||||
{{- if .Values.distributedMode -}}
|
||||
{{- cat $arg (join " " (concat (.Values.distributedIps | default list) (.Values.extraArgs | default list))) -}}
|
||||
{{- else -}}
|
||||
{{- cat $arg ((concat (list (printf "--address ':%d'" (.Values.service.nodePort | int))) (list "/export") (.Values.extraArgs | default list)) | join " ") -}}
|
||||
{{- cat $arg ((concat (list (printf "--address ':%d'" (.Values.service.nodePort | int))) (list (printf "%s" .Values.appVolumeMounts.export.mountPath)) (.Values.extraArgs | default list)) | join " ") -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user