kubelet: Configure cri-o container registries
The _containers-image_ role configures _containers-registries.conf(5)_ and _containers-cert.d(5)_, which are used by CRI-O (and `podman`). Specifically, we'll use these to redirect requests for images on Docker Hub (docker.io) to the internal caching proxy.
This commit is contained in:
@@ -12,3 +12,12 @@ collectd_df_ignore_mountpoint:
|
||||
- /etc/cni/net.d
|
||||
- /opt/cni
|
||||
- /usr/libexec/kubernetes/kubelet-plugins
|
||||
|
||||
container_registries:
|
||||
- location: docker-hub.proxy.pyrocufflink.blue
|
||||
prefix: docker.io
|
||||
|
||||
container_registry_certs:
|
||||
docker-hub.proxy.pyrocufflink.blue:443:
|
||||
ca: >-
|
||||
{{ lookup('file', 'dch-root-ca-r2.crt') }}
|
||||
|
||||
Reference in New Issue
Block a user