18 lines
546 B
YAML
18 lines
546 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.v1.common.loader.init" . }}
|
|
|
|
{{/* Render secrets for fireflyiii */}}
|
|
{{- $secrets := include "fireflyiii.secrets" . | fromYaml -}}
|
|
{{- if $secrets -}}
|
|
{{- $_ := set .Values.secret "secrets" $secrets -}}
|
|
{{- end -}}
|
|
|
|
{{/* Render cronjob for fireflyiii */}}
|
|
{{- $cronjob := include "fireflyiii.cronjob" . | fromYaml -}}
|
|
{{- if $cronjob -}}
|
|
{{- $_ := set .Values.workload "cron" $cronjob -}}
|
|
{{- end -}}
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "tc.v1.common.loader.apply" . }}
|