TrueChartsClone/charts/stable/fireflyiii/templates/common.yaml

18 lines
554 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 "firefly-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" . }}