TrueChartsCatalogClone/stable/plextraktsync/7.8.9/templates/common.yaml

14 lines
466 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{- if and .Values.plextraktsync.cron_enabled .Values.plextraktsync.schedule}}
{{/* Render cronjob for plextraktsync */}}
{{- $cronjob := include "plextraktsync.cronjob" . | fromYaml -}}
{{- if $cronjob -}}
{{- $_ := set .Values.workload "cron" $cronjob -}}
{{- end -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}