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