Browse Source

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
Spyros Trigazis 1 year ago
parent
commit
a6d9f8950c

+ 2
- 4
magnum/drivers/common/templates/kubernetes/fragments/core-dns-service.sh View File

@@ -18,9 +18,7 @@ data:
18 18
         errors
19 19
         log stdout
20 20
         health
21
-        kubernetes ${DNS_CLUSTER_DOMAIN} {
22
-          cidrs ${PORTAL_NETWORK_CIDR}
23
-        }
21
+        kubernetes ${DNS_CLUSTER_DOMAIN} ${PORTAL_NETWORK_CIDR}
24 22
         proxy . /etc/resolv.conf
25 23
         cache 30
26 24
     }
@@ -49,7 +47,7 @@ spec:
49 47
     spec:
50 48
       containers:
51 49
       - name: coredns
52
-        image: coredns/coredns:007
50
+        image: coredns/coredns:011
53 51
         imagePullPolicy: Always
54 52
         args: [ "-conf", "/etc/coredns/Corefile" ]
55 53
         volumeMounts:

Loading…
Cancel
Save