Blockerbugs: try to fix cron...

This commit is contained in:
František Zatloukal 2022-02-03 13:04:09 +01:00
parent 3fa292facd
commit 01ce7dde3e

View file

@ -8,18 +8,17 @@ spec:
concurrencyPolicy: Forbid
activeDeadlineSeconds: 900
startingDeadlineSeconds: 180
schedule: "0 * * * *"
schedule: "30 * * * *"
jobTemplate:
spec:
template:
metadata:
labels:
parent: "cronjobbuild"
spec:
containers:
- name: blockerbugs-sync
image: blockerbugs:latest
command: ["python", "/opt/app-root/src/blockerbugs/cli.py", "sync"]
restartPolicy: Never
startingDeadlineSeconds: 600
env:
- name: POSTGRESQL_USER
value: "blockerbugs"
@ -68,8 +67,6 @@ spec:
- name: blockerbugs-secret-volume
mountPath: /opt/app-root/secret/
readOnly: true
restartPolicy: Never
startingDeadlineSeconds: 600
volumes:
- name: blockerbugs-secret-volume
secret: