From 8e0b19fb299b90a82e852cab3dc5702b35600790 Mon Sep 17 00:00:00 2001 From: djtecha Date: Thu, 1 Feb 2024 09:40:17 -0800 Subject: [PATCH] feat: add default timezone --- charts/cronjobs/templates/cronjob.yaml | 1 + charts/cronjobs/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/cronjobs/templates/cronjob.yaml b/charts/cronjobs/templates/cronjob.yaml index 3b65d84..aa77238 100644 --- a/charts/cronjobs/templates/cronjob.yaml +++ b/charts/cronjobs/templates/cronjob.yaml @@ -85,5 +85,6 @@ spec: {{ toYaml . | indent 12 }} {{- end }} schedule: {{ $job.schedule | quote }} + timeZone: {{ $job.timeZone | quote }} successfulJobsHistoryLimit: {{ $job.successfulJobsHistoryLimit }} {{- end }} diff --git a/charts/cronjobs/values.yaml b/charts/cronjobs/values.yaml index 7b25df9..4f9e05a 100644 --- a/charts/cronjobs/values.yaml +++ b/charts/cronjobs/values.yaml @@ -1,4 +1,5 @@ -jobs: {} +jobs: + timeZone: "Etc/UTC" # - name: reader # namespace: default # image: