Browse Source

Fix default_resolver is undefined

fix issues #2265
pull/2299/head
RongZhang 7 years ago
committed by GitHub
parent
commit
bbb1da1a83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/dnsmasq/templates/01-kube-dns.conf.j2

2
roles/dnsmasq/templates/01-kube-dns.conf.j2

@ -22,7 +22,7 @@ server={{ srv }}
{% endfor %}
{% elif resolvconf_mode == 'host_resolvconf' %}
{# The default resolver is only needed when the hosts resolv.conf was modified by us. If it was not modified, we can rely on dnsmasq to reuse the systems resolv.conf #}
server={{ default_resolver }}
server={{ cloud_resolver }}
{% endif %}
{% if kube_log_level == '4' %}

Loading…
Cancel
Save