Added cronjob label to job template

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

View File

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