Browse Source

Explicitly set config path for DNSMasq

When DNSMasq is configured to read its settings
from a folder ('-7' or '--conf-dir' option) it only
checks that the directory exists and doesn't fail if
it's empty. It could lead to a situation when DNSMasq
is running and handles requests, but not properly
configured, so some of queries can't be resolved.
pull/954/head
Artem Panchenko 8 years ago
parent
commit
1418fb394b
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/dnsmasq/templates/dnsmasq-ds.yml

4
roles/dnsmasq/templates/dnsmasq-ds.yml

@ -20,8 +20,8 @@ spec:
- dnsmasq - dnsmasq
args: args:
- -k - -k
- "-7"
- /etc/dnsmasq.d
- -C
- /etc/dnsmasq.d/01-kube-dns.conf
securityContext: securityContext:
capabilities: capabilities:
add: add:

Loading…
Cancel
Save