18 lines
582 B
YAML
18 lines
582 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.v1.common.loader.init" . -}}
|
|
|
|
{{/* Render secrets for teslamate */}}
|
|
{{- $secrets := include "teslamate.secrets" . | fromYaml -}}
|
|
{{- if $secrets -}}
|
|
{{- $_ := set .Values.secret "teslamate-secrets" $secrets -}}
|
|
{{- end -}}
|
|
|
|
{{/* Render configmaps for dashboards */}}
|
|
{{- $configmaps := include "teslamate.configmaps" . | fromYaml -}}
|
|
{{- if $configmaps -}}
|
|
{{- $_ := mustMergeOverwrite .Values.configmap $configmaps -}}
|
|
{{- end -}}
|
|
|
|
{{/* Render the templates */}}
|
|
{{- include "tc.v1.common.loader.apply" . -}}
|