Fix indentation

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-06-21 10:16:04 +02:00
parent 8d4b8ca806
commit fbb1ad8033
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -1,5 +1,4 @@
{% macro common_volume_mounts(with_ssh=False) %}
volumeMounts:
{% macro common_volume_mounts(with_ssh=False) -%}
- name: config
mountPath: "/etc/mirrormanager"
readOnly: true
@ -15,12 +14,12 @@
readOnly: true
- name: mirrorlist-cache
mountPath: /var/cache/mirrorlist
{%- if with_ssh %}
{% if with_ssh %}
- name: ssh-key
mountPath: /etc/mirrormanager-ssh/ssh_mirrorlist_proxies.key
subPath: ssh_mirrorlist_proxies.key
readOnly: true
{%- endif %}
{% endif %}
- name: fedora-messaging-ca-volume
mountPath: /etc/pki/fedora-messaging/ca
readOnly: true
@ -36,8 +35,7 @@
{% endmacro %}
{% macro common_volumes(with_ssh=False) %}
volumes:
{% macro common_volumes(with_ssh=False) -%}
- name: config
configMap:
name: config
@ -56,11 +54,11 @@
- name: mirrorlist-cache
persistentVolumeClaim:
claimName: mirrorlist-cache
{%- if with_ssh %}
{% if with_ssh %}
- name: ssh-key
secret:
secretName: ssh-mirrorlist-proxies-key
{%- endif %}
{% endif %}
- name: fedora-messaging-ca-volume
secret:
secretName: fedora-messaging-ca
@ -76,7 +74,7 @@
{% endmacro %}
{% macro common_env() %}
{% macro common_env() -%}
- name: MM2_CONFIG
value: "/etc/mirrormanager/mirrormanager2.cfg"
- name: FEDORA_MESSAGING_CONF
@ -87,7 +85,7 @@
{% endmacro %}
{% macro security_context() %}
{% macro security_context() -%}
securityContext:
supplementalGroups: [1001280000]
{% endmacro %}