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
|
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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue