From 693b75bd3cc981e1e9c4c691590a0d0f2d3d8e0e Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 10 Feb 2022 20:53:52 +0100 Subject: [PATCH] fix: support startingDeadlineSeconds --- templates/cronjob.yaml | 3 +++ values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/templates/cronjob.yaml b/templates/cronjob.yaml index 331bf47..a9740f3 100644 --- a/templates/cronjob.yaml +++ b/templates/cronjob.yaml @@ -19,6 +19,9 @@ spec: {{- with .Values.cronjob.successfulJobsHistoryLimit }} successfulJobsHistoryLimit: {{ . }} {{- end }} + {{- with .Values.cronjob.startingDeadlineSeconds }} + startingDeadlineSeconds: {{ . }} + {{- end }} jobTemplate: spec: template: diff --git a/values.yaml b/values.yaml index fea71cf..ec4b61a 100644 --- a/values.yaml +++ b/values.yaml @@ -41,6 +41,7 @@ cronjob: concurrencyPolicy: Forbid failedJobsHistoryLimit: 3 successfulJobsHistoryLimit: 1 + startingDeadlineSeconds: '' renovate: env: {}