mdapi: fix the path of the script executed by the cronjob

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-04-25 11:55:22 +02:00
parent 16fd75efec
commit 659131c821

View file

@ -4,7 +4,7 @@ metadata:
name: mdapi
spec:
concurrencyPolicy: Forbid
schedule: "50 * * * *"
schedule: "20 * * * *"
jobTemplate:
spec:
template:
@ -15,7 +15,7 @@ spec:
containers:
- name: mdapi
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:
- name: config-volume
mountPath: /etc/mdapi