Merge "Don't try adding insecure registries if not defined"

This commit is contained in:
Zuul 2021-06-01 23:45:57 +00:00 committed by Gerrit Code Review
commit 125a6fb994
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ insecure = {{ mirror.insecure | default(False) | bool | ternary('true', 'false')
{% endif %}
{% endfor %}
{% if tripleo_podman_insecure_registries is defined %}
# insecure registry list
{% for reg in tripleo_podman_insecure_registries %}
[[registry]]
@ -25,3 +26,4 @@ prefix = "{{ reg }}"
insecure = true
location = "{{ reg }}"
{% endfor %}
{% endif %}