Skip to content

Commit

Permalink
Check nameserver when dns is enable (kubernetes-sigs#10561)
Browse files Browse the repository at this point in the history
  • Loading branch information
yckaolalala authored and pedromcpedro committed May 8, 2024
1 parent de0e163 commit 1ebaffb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/kubernetes/preinstall/tasks/0020-set_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
- configured_nameservers is defined
- not (upstream_dns_servers is defined and upstream_dns_servers | length > 0)
- not (disable_host_nameservers | default(false))
- dns_mode in ['coredns', 'coredns_dual']

- name: NetworkManager | Check if host has NetworkManager
# noqa command-instead-of-module - Should we use service_facts for this?
Expand Down

0 comments on commit 1ebaffb

Please sign in to comment.