18 lines
554 B
YAML
18 lines
554 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.v1.common.loader.init" . }}
|
|
|
|
{{/* Render Plausible configmap */}}
|
|
{{- $config := include "plausible.configmap" . | fromYaml -}}
|
|
{{- if $config -}}
|
|
{{- $_ := set .Values.configmap "plausible-config" $config -}}
|
|
{{- end -}}
|
|
|
|
{{/* Render Plausible secret */}}
|
|
{{- $secret := include "plausible.secret" . | fromYaml -}}
|
|
{{- if $secret -}}
|
|
{{- $_ := set .Values.secret "plausible-secret" $secret -}}
|
|
{{- end -}}
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "tc.v1.common.loader.apply" . }}
|