mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Update configuration of registries in cri-o (#7852)
* Update configuration of registries in cri-o * Update docs to match new registry configuration
This commit is contained in:
@@ -338,31 +338,10 @@ pause_command = "/pause"
|
||||
# refer to containers-policy.json(5) for more details.
|
||||
signature_policy = "{{ crio_signature_policy }}"
|
||||
|
||||
# List of registries to skip TLS verification for pulling images. Please
|
||||
# consider configuring the registries via /etc/containers/registries.conf before
|
||||
# changing them here.
|
||||
insecure_registries = [
|
||||
{% for insecure_registry in crio_insecure_registries %}
|
||||
"{{ insecure_registry }}",
|
||||
{% endfor %}
|
||||
]
|
||||
|
||||
# Controls how image volumes are handled. The valid values are mkdir, bind and
|
||||
# ignore; the latter will ignore volumes entirely.
|
||||
image_volumes = "mkdir"
|
||||
|
||||
# List of registries to be used when pulling an unqualified image (e.g.,
|
||||
# "alpine:latest"). By default, registries is set to "docker.io" for
|
||||
# compatibility reasons. Depending on your workload and usecase you may add more
|
||||
# registries (e.g., "quay.io", "registry.fedoraproject.org",
|
||||
# "registry.opensuse.org", etc.).
|
||||
registries = [
|
||||
{% for registry in crio_registries %}
|
||||
"{{ registry }}",
|
||||
{% endfor %}
|
||||
]
|
||||
|
||||
|
||||
# The crio.network table containers settings pertaining to the management of
|
||||
# CNI plugins.
|
||||
[crio.network]
|
||||
|
||||
Reference in New Issue
Block a user