mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-13 14:41:42 +00:00
If the user runs "kubeadm upgrade apply", kubeadm can download a configuration from the cluster. If the configuration contains the legacy default imageRepository of "k8s.gcr.io", mutate it to the new default of "registry.k8s.io" and update the configuration in the config map. During "upgrade node/diff" download the configuration, mutate the image repository locally, but do not mutate the in-cluster value. That is done only on "apply". This ensures that users are migrated from the old default registry domain.