Skip to content

Commit

Permalink
Add backoff-limit for repulling image
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Huginn committed May 2, 2024
1 parent a10b6a0 commit 9c1bd14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ jira-issue-lottery.config-file-repo=https://github.com/jboss-set/jira-issue-lott
quarkus.kubernetes.deployment-kind=cron-job
# Cron expression to run the job every Monday see https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#writing-a-cronjob-spec
quarkus.kubernetes.cron-job.schedule=0 0 * * 1
# Due to connectivity problems of the cluster (I suspect), this is when job fails to pull an image
quarkus.openshift.cron-job.backoff-limit=5
quarkus.openshift.env.secrets=jira-lottery
quarkus.openshift.labels.app=jira-issue-lottery

Expand Down

0 comments on commit 9c1bd14

Please sign in to comment.