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