mdapi: fix the path of the script executed by the cronjob
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
16fd75efec
commit
659131c821
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ metadata:
|
||||||
name: mdapi
|
name: mdapi
|
||||||
spec:
|
spec:
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
schedule: "50 * * * *"
|
schedule: "20 * * * *"
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mdapi
|
- name: mdapi
|
||||||
image: docker-registry.default.svc:5000/mdapi/mdapi:latest
|
image: docker-registry.default.svc:5000/mdapi/mdapi:latest
|
||||||
command: ["bash", "-c", "/code/mdapi/mdapi-get_repo_md /etc/mdapi/mdapi.cfg; echo failed"]
|
command: ["bash", "-c", "/code/mdapi-get_repo_md /etc/mdapi/mdapi.cfg; echo failed"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/mdapi
|
mountPath: /etc/mdapi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue