2022-01-05 23:36:40 +08:00
|
|
|
{%- 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 %}
|
|
|
|
|
2022-02-05 15:46:50 +08:00
|
|
|
unqualified-search-registries = {{ _unqualified_registries | string }}
|