mirror of
https://github.com/truenas/charts.git
synced 2026-06-28 00:06:45 +08:00
20 lines
894 B
YAML
20 lines
894 B
YAML
{{- include "ix.v1.common.loader.init" . -}}
|
|
|
|
{{- include "home-assistant.migration" $ -}}
|
|
|
|
{{/* Merge the templates with Values */}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "home-assistant.workload" $ | fromYaml) -}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "home-assistant.service" $ | fromYaml) -}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "home-assistant.persistence" $ | fromYaml) -}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "home-assistant.configuration" $ | fromYaml) -}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "postgres.workload" $ | fromYaml) -}}
|
|
|
|
{{- if eq (include "home-assistant.is-migration" $) "true" }}
|
|
{{- $_ := set .Values.workload.postgres.podSpec.initContainers.permissions "type" "init" -}}
|
|
{{- end }}
|
|
|
|
{{/* Create the configmap for portal manually*/}}
|
|
{{- include "home-assistant.portal" $ -}}
|
|
|
|
{{- include "ix.v1.common.loader.apply" . -}}
|