fix: ensure CoreDNS is kept disabled on kubeadm upgrade (#12028)

See https://github.com/kubernetes/kubernetes/pull/129429
in kubernetes 1.32.1
This commit is contained in:
Mathieu Parent 2025-03-21 17:00:31 +01:00 committed by GitHub
parent d5a5e6a93c
commit c20388dbbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,6 +102,9 @@ etcd:
{% endfor %}
{% endif %}
dns:
{% if 'addon/coredns' in kubeadm_init_phases_skip %}
disabled: true
{% endif %}
imageRepository: {{ coredns_image_repo | regex_replace('/coredns(?!/coredns).*$', '') }}
imageTag: {{ coredns_image_tag }}
networking: