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

14 lines
431 B
YAML

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