Files
chart/library/ix-dev/community/immich/templates/common.yaml
2023-11-21 18:56:28 +02:00

22 lines
1.1 KiB
YAML

{{- include "ix.v1.common.loader.init" . -}}
{{/* Merge the templates with Values */}}
{{- $_ := mustMergeOverwrite .Values (include "immich.configuration" $ | fromYaml) -}}
{{- $_ := mustMergeOverwrite .Values (include "immich.server.workload" $ | fromYaml) -}}
{{- $_ := mustMergeOverwrite .Values (include "immich.microservices.workload" $ | fromYaml) -}}
{{- if .Values.immichConfig.enableML -}}
{{- $_ := mustMergeOverwrite .Values (include "immich.machinelearning.workload" $ | fromYaml) -}}
{{- end -}}
{{- if .Values.immichConfig.enableTypesense -}}
{{- $_ := mustMergeOverwrite .Values (include "immich.typesense.workload" $ | fromYaml) -}}
{{- end -}}
{{- $_ := mustMergeOverwrite .Values (include "immich.persistence" $ | fromYaml) -}}
{{- $_ := mustMergeOverwrite .Values (include "immich.service" $ | fromYaml) -}}
{{- $_ := mustMergeOverwrite .Values (include "postgres.workload" $ | fromYaml) -}}
{{- $_ := mustMergeOverwrite .Values (include "redis.workload" $ | fromYaml) -}}
{{/* Create the configmap for portal manually*/}}
{{- include "immich.portal" $ -}}
{{- include "ix.v1.common.loader.apply" . -}}