diff --git a/moodle/Chart.yaml b/moodle/Chart.yaml index a285790..aa16005 100644 --- a/moodle/Chart.yaml +++ b/moodle/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: moodle -version: 0.1.5 +version: 0.1.6 description: Moodle is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments keywords: - moodle diff --git a/moodle/templates/cronjob.yaml b/moodle/templates/cronjob.yaml index 3de9a23..446f56f 100644 --- a/moodle/templates/cronjob.yaml +++ b/moodle/templates/cronjob.yaml @@ -12,11 +12,11 @@ spec: startingDeadlineSeconds: {{ .Values.cronjob.startingDeadlineSeconds }} {{- end }} concurrencyPolicy: {{ .Values.cronjob.concurrencyPolicy }} - {{- if .Values.cronjob.activeDeadlineSeconds }} - activeDeadlineSeconds: {{ .Values.cronjob.activeDeadlineSeconds }} - {{- end }} jobTemplate: spec: + {{- if .Values.cronjob.activeDeadlineSeconds }} + activeDeadlineSeconds: {{ .Values.cronjob.activeDeadlineSeconds }} + {{- end }} template: spec: containers: