diff --git a/docs/cri-o.md b/docs/cri-o.md index c4831529e..61a795f1d 100644 --- a/docs/cri-o.md +++ b/docs/cri-o.md @@ -38,6 +38,7 @@ crio_registries: insecure: false blocked: false location: registry-1.docker.io + unqualified: false mirrors: - location: 192.168.100.100:5000 insecure: true diff --git a/roles/container-engine/cri-o/templates/unqualified.conf.j2 b/roles/container-engine/cri-o/templates/unqualified.conf.j2 index 8d690dc24..fc91f8bd5 100644 --- a/roles/container-engine/cri-o/templates/unqualified.conf.j2 +++ b/roles/container-engine/cri-o/templates/unqualified.conf.j2 @@ -7,4 +7,4 @@ {%- endif %} {%- endfor %} -unqualified-search-registries = {{ _unqualified_registries | to_yaml }} +unqualified-search-registries = {{ _unqualified_registries | string }}