common.yaml 944 B

12345678910111213141516171819202122232425
  1. {{- include "ix.v1.common.loader.init" . -}}
  2. {{/* TODO: Remove on the next version bump, eg 1.1.0+ */}}
  3. {{- define "minio.storage.ci.migration" -}}
  4. {{- $storage := .storage -}}
  5. {{- if $storage.hostPath -}}
  6. {{- $_ := set $storage "hostPathConfig" dict -}}
  7. {{- $_ := set $storage.hostPathConfig "hostPath" $storage.hostPath -}}
  8. {{- end -}}
  9. {{- end -}}
  10. {{/* Merge the templates with Values */}}
  11. {{- $_ := mustMergeOverwrite .Values (include "minio.configuration" $ | fromYaml) -}}
  12. {{- $_ := mustMergeOverwrite .Values (include "minio.workload" $ | fromYaml) -}}
  13. {{- if .Values.minioLogging.logsearch.enabled -}}
  14. {{- $_ := mustMergeOverwrite .Values (include "logsearch.workload" $ | fromYaml) -}}
  15. {{- $_ := mustMergeOverwrite .Values (include "postgres.workload" $ | fromYaml) -}}
  16. {{- end -}}
  17. {{/* Create the configmap for portal manually*/}}
  18. {{- include "minio.portal" $ -}}
  19. {{- include "ix.v1.common.loader.apply" . -}}