Skip to content

Commit

Permalink
Fixes 2449: parameterize cron job (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill authored Sep 6, 2023
1 parent 1eed2cd commit c29f3b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deployments/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ objects:
jobs:
- name: nightly-jobs
# https://crontab.guru/
schedule: "0 0/8 * * *"
schedule: ${NIGHTLY_CRON_JOB}
concurrencyPolicy: "Forbid"
podSpec:
securityContext:
Expand Down Expand Up @@ -347,6 +347,8 @@ parameters:
required: true
- name: IMAGE
value: quay.io/cloudservices/content-sources-backend
- name: NIGHTLY_CRON_JOB
value: "0 0/8 * * *"
- name: IMAGE_TAG
required: true
- name: CPU_LIMIT
Expand Down

0 comments on commit c29f3b4

Please sign in to comment.