Fix CronJob schedule for in webhook chart
The current schedule (* * */24 * *) effectively causes the CronJob to run on the 24th of every month only, and on the 24th it runs every single minute (1440 times). The itention was to have it run daily, but I suspect that running it weekly should be plenty good enough. This fixes helm/charts#8077. Signed-off-by: Chris Boot <bootc@bootc.net>
This commit is contained in:
parent
3082bd11e5
commit
e1e30f6c18
@ -1,4 +1,4 @@
|
||||
## This file contains a CronJob that runs every 24h to automatically update the
|
||||
## This file contains a CronJob that runs every week to automatically update the
|
||||
## caBundle set on the APIService and ValidatingWebhookConfiguration resource.
|
||||
## This allows us to store the CA bundle in a Secret resource which is
|
||||
## generated by cert-manager's 'selfsigned' Issuer.
|
||||
@ -13,7 +13,7 @@ metadata:
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
spec:
|
||||
schedule: "* * */24 * *"
|
||||
schedule: "@weekly"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user