Blockerbugs: try to specify full path to the cronjob image

This commit is contained in:
František Zatloukal 2022-02-03 15:13:47 +01:00
parent 1a9287ba81
commit b1a1fbb630

View file

@ -8,14 +8,14 @@ spec:
concurrencyPolicy: Forbid concurrencyPolicy: Forbid
activeDeadlineSeconds: 900 activeDeadlineSeconds: 900
startingDeadlineSeconds: 180 startingDeadlineSeconds: 180
schedule: "30 * * * *" schedule: "3 * * * *"
jobTemplate: jobTemplate:
spec: spec:
template: template:
spec: spec:
containers: containers:
- name: blockerbugs-sync - name: blockerbugs-sync
image: blockerbugs:latest image: image-registry.openshift-image-registry.svc:5000/blockerbugs/blockerbugs:latest
command: ["python", "/opt/app-root/src/blockerbugs/cli.py", "sync"] command: ["python", "/opt/app-root/src/blockerbugs/cli.py", "sync"]
restartPolicy: Never restartPolicy: Never
startingDeadlineSeconds: 600 startingDeadlineSeconds: 600