1
0
Fork 0

fix(helm): k8s 1.27+ can set timezone on CronJobs

This commit is contained in:
Vojtěch Mareš 2023-07-31 15:59:10 +09:00
parent 1b356de988
commit 5be866b3e4
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -3,9 +3,8 @@ kind: CronJob
metadata:
name: {{ include "wsj-drink.fullname" . }}-job
spec:
# Schedule does not support time zones, so we use UTC
# 7-21 UTC => 22-12 KRT (GMT+9)
schedule: "0 22-12 * * *"
timeZone: "Asia/Seoul"
schedule: "0 7-21 * * *"
jobTemplate:
spec:
backoffLimit: 4