Update CoreDNS to 011

Update CoreDNS to version 011 which includes a fix [0]
for kubernetes srv and update the Corefile appropriately [1].

[0] https://github.com/coredns/coredns/pull/823
[1] https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed#L12
Closes-Bug: #1717238

(Cherry-picked from 68d7b87a0b)
Change-Id: Ibeaa01578874335ddb70ac178ff708c6b953f129
This commit is contained in:
Spyros Trigazis 2017-09-14 13:53:27 +00:00 committed by Spyros Trigazis (strigazi)
parent a5aabcb6ab
commit a6d9f8950c
1 changed files with 2 additions and 4 deletions

View File

@ -18,9 +18,7 @@ data:
errors
log stdout
health
kubernetes ${DNS_CLUSTER_DOMAIN} {
cidrs ${PORTAL_NETWORK_CIDR}
}
kubernetes ${DNS_CLUSTER_DOMAIN} ${PORTAL_NETWORK_CIDR}
proxy . /etc/resolv.conf
cache 30
}
@ -49,7 +47,7 @@ spec:
spec:
containers:
- name: coredns
image: coredns/coredns:007
image: coredns/coredns:011
imagePullPolicy: Always
args: [ "-conf", "/etc/coredns/Corefile" ]
volumeMounts: