mirror of
https://github.com/truenas/charts.git
synced 2026-05-01 22:11:04 +08:00
* bump version and common * update values * update templtes * update ui * add migration * missed one * keep version on test train in order to test migration in storage section * fix migration value * update appversion to reflect the actual version
26 lines
944 B
YAML
26 lines
944 B
YAML
{{- include "ix.v1.common.loader.init" . -}}
|
|
|
|
{{/* TODO: Remove on the next version bump, eg 1.1.0+ */}}
|
|
{{- define "minio.storage.ci.migration" -}}
|
|
{{- $storage := .storage -}}
|
|
|
|
{{- if $storage.hostPath -}}
|
|
{{- $_ := set $storage "hostPathConfig" dict -}}
|
|
{{- $_ := set $storage.hostPathConfig "hostPath" $storage.hostPath -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{/* Merge the templates with Values */}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "minio.configuration" $ | fromYaml) -}}
|
|
|
|
{{- $_ := mustMergeOverwrite .Values (include "minio.workload" $ | fromYaml) -}}
|
|
{{- if .Values.minioLogging.logsearch.enabled -}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "logsearch.workload" $ | fromYaml) -}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "postgres.workload" $ | fromYaml) -}}
|
|
{{- end -}}
|
|
|
|
{{/* Create the configmap for portal manually*/}}
|
|
{{- include "minio.portal" $ -}}
|
|
|
|
{{- include "ix.v1.common.loader.apply" . -}}
|