Browse Source
Clear http scheme on containerd insecure-registry tls config (#10084)
Signed-off-by: tu1h <lihai.tu@daocloud.io>
pull/10087/head
Louis Tu
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/container-engine/containerd/templates/config.toml.j2
|
|
@ -62,7 +62,7 @@ oom_score = {{ containerd_oom_score }} |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|
{% 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 |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|