mirrormanager: rationalize object names
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
001a3f3964
commit
4247d32de7
4 changed files with 13 additions and 13 deletions
|
@ -123,7 +123,7 @@
|
|||
# Cron jobs
|
||||
- role: openshift/object
|
||||
app: mirrormanager
|
||||
template: cron.yml
|
||||
file: cron.yml
|
||||
objectname: cron.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
|
|
|
@ -19,13 +19,13 @@ spec:
|
|||
image: mirrormanager:latest
|
||||
command: ["/opt/app-root/bin/mm2_generate-worldmap", "--output", "/var/www/mirrormanager-statistics/map/"]
|
||||
volumeMounts:
|
||||
- name: mm-config
|
||||
- name: config
|
||||
mountPath: "/etc/mirrormanager"
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: mm-config
|
||||
- name: config
|
||||
configMap:
|
||||
name: mm-config
|
||||
name: config
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
|
@ -47,16 +47,16 @@ spec:
|
|||
image: mirrormanager:latest
|
||||
command: ["bash", "/opt/scripts/sync-crawler-logs.sh"]
|
||||
volumeMounts:
|
||||
- name: mm-config
|
||||
- name: config
|
||||
mountPath: "/etc/mirrormanager"
|
||||
readOnly: true
|
||||
- name: scripts
|
||||
mountPath: "/opt/scripts"
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: mm-config
|
||||
- name: config
|
||||
configMap:
|
||||
name: mm-config
|
||||
name: config
|
||||
- name: scripts
|
||||
configMap:
|
||||
name: scripts
|
|
@ -32,10 +32,10 @@ spec:
|
|||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: mm-config
|
||||
- name: config
|
||||
mountPath: "/etc/mirrormanager"
|
||||
readOnly: true
|
||||
- name: mm-secrets
|
||||
- name: secrets
|
||||
mountPath: "/etc/mirrormanager-secrets"
|
||||
readOnly: true
|
||||
- name: statistics
|
||||
|
@ -86,10 +86,10 @@ spec:
|
|||
# path: "/healthz/live"
|
||||
# port: 8080
|
||||
volumes:
|
||||
- name: mm-config
|
||||
- name: config
|
||||
configMap:
|
||||
name: mirrormanager
|
||||
- name: mm-secrets
|
||||
name: config
|
||||
- name: secrets
|
||||
secret:
|
||||
secretName: secrets
|
||||
- name: statistics
|
||||
|
|
|
@ -7,7 +7,7 @@ items:
|
|||
- apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: mirrormanager
|
||||
name: config
|
||||
labels:
|
||||
app: mirrormanager
|
||||
data:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue