Skip to content

Commit

Permalink
Merge pull request #67 from jujaga/feature/podlabels
Browse files Browse the repository at this point in the history
Add missing labels to job container template
  • Loading branch information
WadeBarnes authored Dec 4, 2020
2 parents 40100a7 + c09103e commit 1eb9f33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openshift/templates/backup/backup-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ objects:
spec:
backoffLimit: ${{JOB_BACKOFF_LIMIT}}
template:
metadata:
labels:
template: "${JOB_NAME}-job"
cronjob: "${JOB_NAME}"
spec:
containers:
- name: "${JOB_NAME}-cronjob"
Expand Down

0 comments on commit 1eb9f33

Please sign in to comment.