Fix indentation
This commit is contained in:
parent
51b4c381ae
commit
bc5ffc35b1
2 changed files with 26 additions and 23 deletions
|
@ -80,13 +80,13 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: logs
|
- name: logs
|
||||||
mountPath: "/var/log/mirrormanager"
|
mountPath: "/var/log/mirrormanager"
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: config
|
name: config
|
||||||
- name: logs
|
- name: logs
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: logs
|
claimName: logs
|
||||||
{{ security_context() | indent(4) }}
|
{{ security_context() | indent(4) }}
|
||||||
---
|
---
|
||||||
#
|
#
|
||||||
|
@ -120,8 +120,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: var-lib
|
- name: var-lib
|
||||||
mountPath: "/var/lib/mirrormanager"
|
mountPath: "/var/lib/mirrormanager"
|
||||||
volumes:
|
volumes:
|
||||||
- name: var-lib
|
- name: var-lib
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: data
|
claimName: data
|
||||||
{{ security_context() | indent(4) }}
|
{{ security_context() | indent(4) }}
|
||||||
|
|
|
@ -75,12 +75,15 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
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: ["mm2_get-netblocks", "--debug", "internet2", "/var/cache/mirrorlist/i2_netblocks.txt"]
|
command: ["mm2_get-netblocks", "--debug", "internet2", "/var/cache/mirrorlist/i2_netblocks.txt"]
|
||||||
env:
|
env:
|
||||||
{{ common_env() | indent(4) }}
|
{{ common_env() | indent(4) }}
|
||||||
{{ volumes() | indent(4) }}
|
volumeMounts:
|
||||||
|
{{ common_volume_mounts() | indent(4) }}
|
||||||
|
volumes:
|
||||||
|
{{ common_volumes() | indent(4) }}
|
||||||
{{ security_context() | indent(4) }}
|
{{ security_context() | indent(4) }}
|
||||||
---
|
---
|
||||||
# Amazon EC2 netblocks
|
# Amazon EC2 netblocks
|
||||||
|
@ -100,13 +103,13 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
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: ["mm2_update-EC2-netblocks"]
|
command: ["mm2_update-EC2-netblocks"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: "/etc/mirrormanager"
|
mountPath: "/etc/mirrormanager"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue