Skip to content

Commit

Permalink
Add missing labels to job container template
Browse files Browse the repository at this point in the history
- These labels will be useful for NSP selection

Signed-off-by: Jeremy Ho <[email protected]>
  • Loading branch information
jujaga committed Dec 4, 2020
1 parent b3608f8 commit c09103e
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 c09103e

Please sign in to comment.