Blockerbugs: try to fix cron...
This commit is contained in:
parent
3fa292facd
commit
01ce7dde3e
1 changed files with 52 additions and 55 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue