File tree 3 files changed +21
-7
lines changed
3 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ metadata:
17
17
release : {{ $.Release.Name }}
18
18
spec :
19
19
schedule : {{ $job.schedule | quote }}
20
+ {{- if $job.timeZone }}
21
+ timeZone : {{ $job.timeZone | quote }}
22
+ {{- end }}
20
23
concurrencyPolicy : " Forbid"
21
24
jobTemplate :
22
25
spec :
Original file line number Diff line number Diff line change @@ -92,14 +92,24 @@ cronjobs:
92
92
memory : 2Gi
93
93
# NOTE: Application level configuration
94
94
jobs :
95
- " dummy " :
95
+ dummy-01 :
96
96
enabled : true
97
97
schedule : " 0 0 * * *"
98
- command : ["./manage.py", "run-dummy-command"]
98
+ command : ["./manage.py", "run-dummy-command", "01" ]
99
99
resources :
100
100
requests :
101
101
cpu : " 2"
102
102
memory : 4Gi
103
+ dummy-02 :
104
+ enabled : true
105
+ schedule : " 0 0 * * *"
106
+ timeZone : " Asia/Kathmandu"
107
+ command : ["./manage.py", "run-dummy-command", "02"]
108
+ dummy-03 :
109
+ enabled : false
110
+ schedule : " * * * * *"
111
+ timeZone : " Asia/Kathmandu"
112
+ command : ["./manage.py", "run-dummy-command", "03"]
103
113
104
114
extraConfigMapName : " my-custom-envs"
105
115
env :
Original file line number Diff line number Diff line change @@ -195,11 +195,12 @@ cronjobs:
195
195
cpu : " 1"
196
196
memory : 2Gi
197
197
# NOTE: Application level configuration
198
- jobs :
199
- " dummy " :
200
- schedule : " 0 0 * * *"
201
- enabled : false
202
- command : ["./manage.py", "run-dummy-command"]
198
+ jobs : {}
199
+ # "dummy":
200
+ # schedule: "0 0 * * *"
201
+ # timeZone: "Asia/Kathmandu"
202
+ # enabled: false
203
+ # command: ["./manage.py", "run-dummy-command"]
203
204
204
205
# Not required if global image are set
205
206
argoHook :
You can’t perform that action at this time.
0 commit comments