Added cronjob label to job template

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2021-12-19 18:03:37 +00:00
parent 659771d4b9
commit 786f724823

View File

@@ -57,6 +57,9 @@ spec:
failedJobsHistoryLimit: 1
successfulJobsHistoryLimit: 1
jobTemplate:
metadata:
labels:
cronjob: git-sync
spec:
backoffLimit: 1
template: