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

Change-Id: Ibeaa01578874335ddb70ac178ff708c6b953f129
changes/58/504058/3
Spyros Trigazis 5 years ago
parent 1fbb3a1b6c
commit 68d7b87a0b
  1. 6
      magnum/drivers/common/templates/kubernetes/fragments/core-dns-service.sh

@ -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:

Loading…
Cancel
Save