fix(helm): k8s 1.27+ can set timezone on CronJobs
This commit is contained in:
parent
1b356de988
commit
5be866b3e4
1 changed files with 2 additions and 3 deletions
|
|
@ -3,9 +3,8 @@ kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "wsj-drink.fullname" . }}-job
|
name: {{ include "wsj-drink.fullname" . }}-job
|
||||||
spec:
|
spec:
|
||||||
# Schedule does not support time zones, so we use UTC
|
timeZone: "Asia/Seoul"
|
||||||
# 7-21 UTC => 22-12 KRT (GMT+9)
|
schedule: "0 7-21 * * *"
|
||||||
schedule: "0 22-12 * * *"
|
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 4
|
backoffLimit: 4
|
||||||
|
|
|
||||||
Reference in a new issue