Mirrormanager: adapt to the new version of generate-worldmap
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
3b680accf3
commit
f931febe61
1 changed files with 2 additions and 10 deletions
|
@ -35,7 +35,7 @@ spec:
|
||||||
claimName: data
|
claimName: data
|
||||||
{{ security_context() | indent(4) }}
|
{{ security_context() | indent(4) }}
|
||||||
---
|
---
|
||||||
# Generate the mirrors location text file
|
# Set the mirrors location in the database
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -54,20 +54,12 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mirrormanager
|
- name: mirrormanager
|
||||||
image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
|
image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
|
||||||
command:
|
command: ["mm2_generate-worldmap"]
|
||||||
- "mm2_generate-worldmap"
|
|
||||||
- "--output"
|
|
||||||
- "/var/lib/mirrormanager/map"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: "/etc/mirrormanager"
|
mountPath: "/etc/mirrormanager"
|
||||||
- name: var-lib
|
|
||||||
mountPath: "/var/lib/mirrormanager"
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: config
|
name: config
|
||||||
- name: var-lib
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: data
|
|
||||||
{{ security_context() | indent(4) }}
|
{{ security_context() | indent(4) }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue