Skip to content

Commit

Permalink
feat(cron): Correct cron to use latest spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus authored Dec 11, 2024
1 parent c46970e commit 96b4ab6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions stable/ckan/templates/cronjob/ckan.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{{- if eq .Values.ckan.activityStreamsEmailNotifications_jobs "true" -}}
{{- if semverCompare "<1.21" .Capabilities.KubeVersion.GitVersion }}
apiVersion: batch/v1beta1
{{- else }}
{{- if .Values.ckan.activityStreamsEmailNotifications_jobs -}}
apiVersion: batch/v1
{{- end }}
kind: CronJob
metadata:
name: {{ include "ckan.name" . }}-email-notifications
Expand Down

0 comments on commit 96b4ab6

Please sign in to comment.