feat add custom registries_config_yaml for private-registry (#319)

* feat add custom registries_config_yaml for private-registry

Signed-off-by: dreamingdeer <dreamingdeer@yandex.ru>
Co-authored-by: dreamingdeer <dreamingdeer@yandex.ru>
This commit is contained in:
dreamingdeer
2024-04-03 02:24:23 +07:00
committed by GitHub
parent 485ee0f285
commit 33c15e7c2f
2 changed files with 18 additions and 0 deletions

View File

@@ -34,3 +34,7 @@ k3s_cluster:
# This is now an inner yaml file. Maintain the indentation.
# YAML here will be placed as the content of /etc/rancher/k3s/config.yaml
# See https://docs.k3s.io/installation/configuration#configuration-file
# registries_config_yaml: |
# Containerd can be configured to connect to private registries and use them to pull images as needed by the kubelet.
# YAML here will be placed as the content of /etc/rancher/k3s/registries.yaml
# See https://docs.k3s.io/installation/private-registry