11 lines
366 B
Django/Jinja
11 lines
366 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 | string }}
|