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

18 lines
330 B
Django/Jinja

{% if crio_registry_auth is defined and crio_registry_auth|length %}
{
{% for reg in crio_registry_auth %}
"auths": {
"{{ reg.registry }}": {
"auth": "{{ (reg.username + ':' + reg.password) | string | b64encode }}"
}
{% if not loop.last %}
},
{% else %}
}
{% endif %}
{% endfor %}
}
{% else %}
{}
{% endif %}