Files
dsk-iac/kubespray/extra_playbooks/roles/container-engine/cri-o/templates/registry.conf.j2
havelight-ee 4c32a7239d update
2023-05-30 14:44:26 +09:00

14 lines
448 B
Django/Jinja

[[registry]]
prefix = "{{ item.prefix | default(item.location) }}"
insecure = {{ item.insecure | default('false') | string | lower }}
blocked = {{ item.blocked | default('false') | string | lower }}
location = "{{ item.location }}"
{% if item.mirrors is defined %}
{% for mirror in item.mirrors %}
[[registry.mirror]]
location = "{{ mirror.location }}"
insecure = {{ mirror.insecure | default('false') | string | lower }}
{% endfor %}
{% endif %}