59f62473c9
* Update configuration of registries in cri-o * Update docs to match new registry configuration
10 lines
367 B
Django/Jinja
10 lines
367 B
Django/Jinja
{%- set _unqualified_registries = [] -%}
|
|
{% for _registry in crio_registries if _registry.unqualified -%}
|
|
{% if _registry.prefix is defined -%}
|
|
{{ _unqualified_registries.append(_registry.prefix) }}
|
|
{% else %}
|
|
{{ _unqualified_registries.append(_registry.location) }}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
|
|
unqualified-search-registries = {{ _unqualified_registries | to_yaml }}
|