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.
This commit is contained in:
Artem Panchenko 2017-01-20 12:56:26 +02:00
parent 688cd1ffcc
commit 5ed8f686b3

View file

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