Limit successful history instead of ttl

This commit is contained in:
Luke Van Seters 2021-11-22 13:51:35 -05:00
parent c83577b04c
commit 391314b9d6

View File

@ -3,9 +3,8 @@ kind: CronJob
metadata:
name: {{ include "mev-inspect-prices.fullname" . }}
spec:
completions: 1
ttlSecondsAfterFinished: 5
schedule: "*/1 * * * *"
successfulJobsHistoryLimit: 0
jobTemplate:
spec:
template:
@ -33,4 +32,4 @@ spec:
secretKeyRef:
name: mev-inspect-db-credentials
key: password
restartPolicy: OnFailure
restartPolicy: Never