Clear http scheme on containerd insecure-registry tls config (#10084) (#10782)

Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
Co-authored-by: Louis Tu <92532497+tu1h@users.noreply.github.com>
pull/10804/head
kyrie 2024-01-12 15:28:51 +08:00 committed by GitHub
parent 0af6dfca5d
commit e4ac3ab799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ oom_score = {{ containerd_oom_score }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% for addr in containerd_insecure_registries.values() | flatten | unique %} {% for addr in containerd_insecure_registries.values() | flatten | unique %}
[plugins."io.containerd.grpc.v1.cri".registry.configs."{{ addr }}".tls] [plugins."io.containerd.grpc.v1.cri".registry.configs."{{ addr | urlsplit('netloc') }}".tls]
insecure_skip_verify = true insecure_skip_verify = true
{% endfor %} {% endfor %}
{% endif %} {% endif %}