Skip to content

Commit

Permalink
fix: allow multiple cronjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Sep 22, 2023
1 parent 876fcfa commit 83f81fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{- if (.Values.cronJob).enabled }}
{{- range $name, $job := .Values.cronJob.jobs }}
---
{{ if $.Capabilities.APIVersions.Has "batch/v1/CronJob" -}}
apiVersion: batch/v1
{{- else -}}
Expand Down

0 comments on commit 83f81fa

Please sign in to comment.