Skip to content

Commit

Permalink
feat: add a test CronJob
Browse files Browse the repository at this point in the history
  • Loading branch information
tuusberg committed Dec 27, 2023
1 parent fe1bba9 commit fe3c56f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: cardinal-dea-updater
spec:
concurrencyPolicy: Forbid
failedJobsHistoryLimit: 1
jobTemplate:
spec:
template:
spec:
restartPolicy: Never
containers:
- name: dea-updater
image: quay.io/chronicled/dea-updater:6faf816
imagePullPolicy: IfNotPresent

schedule: 0 10 * * *
successfulJobsHistoryLimit: 3
suspend: true

0 comments on commit fe3c56f

Please sign in to comment.