mdapi: change cronjob entrypoint command

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2022-12-20 16:13:35 +09:00
parent d59ca4e29f
commit ab250d7a87

View file

@ -17,7 +17,7 @@ spec:
containers: containers:
- name: mdapi - name: mdapi
image: image-registry.openshift-image-registry.svc:5000/mdapi/mdapi:latest image: image-registry.openshift-image-registry.svc:5000/mdapi/mdapi:latest
command: ["bash", "-c", "/code/mdapi-get_repo_md /etc/mdapi/mdapi.cfg"] command: ["bash", "-c", "/usr/bin/mdapi --conffile /code/mdapi/confdata/standard.py database"]
volumeMounts: volumeMounts:
- name: config-volume - name: config-volume
mountPath: /etc/mdapi mountPath: /etc/mdapi