Skip to content
Snippets Groups Projects
Unverified Commit 9afca438 authored by toplordsaito's avatar toplordsaito Committed by GitHub
Browse files

change dns upstream condition for coredns (#8263)

upstream_dns_servers should change corefile config even resolvconf_mode=docker_dns
parent 27ab364d
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ data:
{% endif %}
}
prometheus :9153
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
{% if upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
forward . {{ upstream_dns_servers|join(' ') }} {
prefer_udp
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment