TrueChartsCatalogClone/stable/fireflyiii/21.0.4/templates/common.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" . }}