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 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