Fix indentation

This commit is contained in:
Aurélien Bompard 2024-06-21 10:28:59 +02:00
parent 51b4c381ae
commit bc5ffc35b1
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 26 additions and 23 deletions

View file

@ -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) }}

View file

@ -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: