mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-06 05:36:22 -03:00
try for compatibility with 3.9.4 helm
This commit is contained in:
@@ -7,8 +7,10 @@
|
||||
{{- $_ := set $jobValues "nameOverride" $jobName -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if and (hasKey $job "cron") ($job.cron.enabled) -}}
|
||||
{{- include "ix.v1.common.class.cronJob" (dict "root" $ "job" $jobValues) -}}
|
||||
{{- if hasKey $job "cron" -}}
|
||||
{{- if $job.cron.enabled -}}
|
||||
{{- include "ix.v1.common.class.cronJob" (dict "root" $ "job" $jobValues) -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- include "ix.v1.common.class.job" (dict "root" $ "job" $jobValues) -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user