scale-catalog/stable/plextraktsync/8.1.11/templates/common.yaml

14 lines
466 B
YAML
Raw Normal View History

2024-07-13 07:59:30 +00:00
{{/* 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" . }}