Files
chart/library/ix-dev/test/minio/templates/common.yaml
Stavros Kois 0042e1c56d minio/test - migrate storage section (adds acl), update container image (#1994)
* 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
2024-01-04 13:58:14 +02:00

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" . -}}