2021-05-05 20:31:59 +00:00
|
|
|
{{/* Make sure all variables are set properly */}}
|
2023-04-11 10:07:17 +00:00
|
|
|
{{- include "tc.v1.common.loader.init" . }}
|
2021-05-05 20:31:59 +00:00
|
|
|
|
2021-12-07 10:45:24 +00:00
|
|
|
{{/* Render secrets for fireflyiii */}}
|
2023-04-11 10:07:17 +00:00
|
|
|
{{- $secrets := include "fireflyiii.secrets" . | fromYaml -}}
|
|
|
|
{{- if $secrets -}}
|
|
|
|
{{- $_ := set .Values.secret "secrets" $secrets -}}
|
|
|
|
{{- end -}}
|
2021-12-07 10:45:24 +00:00
|
|
|
|
|
|
|
{{/* Render cronjob for fireflyiii */}}
|
2023-04-11 10:07:17 +00:00
|
|
|
{{- $cronjob := include "fireflyiii.cronjob" . | fromYaml -}}
|
|
|
|
{{- if $cronjob -}}
|
|
|
|
{{- $_ := set .Values.workload "cron" $cronjob -}}
|
|
|
|
{{- end -}}
|
2021-12-07 10:45:24 +00:00
|
|
|
|
2021-05-05 20:31:59 +00:00
|
|
|
{{/* Render the templates */}}
|
2023-04-11 10:07:17 +00:00
|
|
|
{{ include "tc.v1.common.loader.apply" . }}
|