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
|
||||
- name: logs
|
||||
mountPath: "/var/log/mirrormanager"
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: logs
|
||||
persistentVolumeClaim:
|
||||
claimName: logs
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: logs
|
||||
persistentVolumeClaim:
|
||||
claimName: logs
|
||||
{{ security_context() | indent(4) }}
|
||||
---
|
||||
#
|
||||
|
@ -120,8 +120,8 @@ spec:
|
|||
volumeMounts:
|
||||
- name: var-lib
|
||||
mountPath: "/var/lib/mirrormanager"
|
||||
volumes:
|
||||
- name: var-lib
|
||||
persistentVolumeClaim:
|
||||
claimName: data
|
||||
volumes:
|
||||
- name: var-lib
|
||||
persistentVolumeClaim:
|
||||
claimName: data
|
||||
{{ security_context() | indent(4) }}
|
||||
|
|
|
@ -75,12 +75,15 @@ spec:
|
|||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: mirrormanager
|
||||
image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
|
||||
command: ["mm2_get-netblocks", "--debug", "internet2", "/var/cache/mirrorlist/i2_netblocks.txt"]
|
||||
env:
|
||||
- name: mirrormanager
|
||||
image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
|
||||
command: ["mm2_get-netblocks", "--debug", "internet2", "/var/cache/mirrorlist/i2_netblocks.txt"]
|
||||
env:
|
||||
{{ common_env() | indent(4) }}
|
||||
{{ volumes() | indent(4) }}
|
||||
volumeMounts:
|
||||
{{ common_volume_mounts() | indent(4) }}
|
||||
volumes:
|
||||
{{ common_volumes() | indent(4) }}
|
||||
{{ security_context() | indent(4) }}
|
||||
---
|
||||
# Amazon EC2 netblocks
|
||||
|
@ -100,13 +103,13 @@ spec:
|
|||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: mirrormanager
|
||||
image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
|
||||
command: ["mm2_update-EC2-netblocks"]
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/etc/mirrormanager"
|
||||
readOnly: true
|
||||
- name: mirrormanager
|
||||
image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
|
||||
command: ["mm2_update-EC2-netblocks"]
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/etc/mirrormanager"
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue