Skip to content

Commit 764383c

Browse files
committed
chore(controller): set cronjob timezone to utc
1 parent 28cb07b commit 764383c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

charts/controller/templates/controller-cronjob-daily.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ metadata:
77
annotations:
88
component.drycc.cc/version: {{ .Values.imageTag }}
99
spec:
10-
schedule: "0 0 * * *"
10+
timeZone: "Etc/UTC"
11+
schedule: "0 1 * * *"
1112
concurrencyPolicy: {{ .Values.concurrencyPolicy }}
1213
successfulJobsHistoryLimit: 1
1314
failedJobsHistoryLimit: 1

charts/controller/templates/controller-cronjob-hourly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
annotations:
88
component.drycc.cc/version: {{ .Values.imageTag }}
99
spec:
10+
timeZone: "Etc/UTC"
1011
schedule: "0 */1 * * *"
1112
concurrencyPolicy: {{ .Values.concurrencyPolicy }}
1213
successfulJobsHistoryLimit: 1

0 commit comments

Comments
 (0)