MM: fix the primary mirror script path

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-02-28 11:21:19 +01:00
parent a470206279
commit db7b10ec82
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -22,11 +22,14 @@ spec:
containers:
- name: mirrormanager
image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
command: ["bash", "/opt/app-root/bin/primary-mirror-wrapper.sh", "{{ cronjob.category }}"]
command: ["bash", "/opt/scripts/primary-mirror-wrapper.sh", "{{ cronjob.category }}"]
volumeMounts:
- name: config
mountPath: "/etc/mirrormanager"
readOnly: true
- name: scripts
mountPath: "/opt/scripts"
readOnly: true
- name: data
mountPath: "/var/lib/mirrormanager"
- name: mirror
@ -37,6 +40,9 @@ spec:
- name: config
configMap:
name: config
- name: scripts
configMap:
name: scripts
- name: data
persistentVolumeClaim:
claimName: data