From 3ec59ec7b4b6f9c836ae865d0622d9387f645d14 Mon Sep 17 00:00:00 2001 From: Pan Luo Date: Fri, 8 Apr 2022 14:21:17 -0700 Subject: [PATCH] Fix the wrong location of activeDeadlineSeconds --- moodle/Chart.yaml | 2 +- moodle/templates/cronjob.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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: