Fix DNS configuration when using resolvconf_mode='host_resolvconf' during scale (#23) (#8361)

This commit is contained in:
Unai Arríen 2022-01-05 12:06:33 +01:00 committed by GitHub
parent dda557ed23
commit 8fbd08d027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,3 +98,11 @@
- { role: kubernetes/kubeadm, tags: kubeadm }
- { role: kubernetes/node-label, tags: node-label }
- { role: network_plugin, tags: network }
- hosts: k8s_cluster
gather_facts: False
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
environment: "{{ proxy_disable_env }}"
roles:
- { role: kubespray-defaults }
- { role: kubernetes/preinstall, when: "dns_mode != 'none' and resolvconf_mode == 'host_resolvconf'", tags: resolvconf }