From 786f7248231d1f42de25f1ac2554673fd558ab1b Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 19 Dec 2021 18:03:37 +0000 Subject: [PATCH] Added cronjob label to job template Signed-off-by: Marcus Noble --- manifests/git-sync/git-sync.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/git-sync/git-sync.yaml b/manifests/git-sync/git-sync.yaml index 8d3258a..29fb4e0 100644 --- a/manifests/git-sync/git-sync.yaml +++ b/manifests/git-sync/git-sync.yaml @@ -57,6 +57,9 @@ spec: failedJobsHistoryLimit: 1 successfulJobsHistoryLimit: 1 jobTemplate: + metadata: + labels: + cronjob: git-sync spec: backoffLimit: 1 template: