Add header configuration in containerd hosts.toml
.
#11877
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What would you like to be added
https://github.com/kubernetes-sigs/kubespray/blob/v2.27.0/roles/container-engine/containerd/templates/hosts.toml.j2
I need to set custom authorization header for the registry mirror.
containerd_registry_auth
does not work for the mirrors.For workaround, I can add some lines in
hosts.toml.j2
file.Then I can set my inventory like this:
Why is this needed
Currently there is no way to add custom headers for registry mirrors.
The text was updated successfully, but these errors were encountered: