scale-catalog/stable/plextraktsync/6.3.1/templates/common.yaml
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

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" . }}