Skip to content

Commit 04038fc

Browse files
committed
update coredns version to 1.7.0
1 parent 70e09f2 commit 04038fc

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

build/dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
match: k8s.gcr.io/coredns
2323

2424
- name: "coredns-kubeadm"
25-
version: 1.6.7
25+
version: 1.7.0
2626
refPaths:
2727
- path: cmd/kubeadm/app/constants/constants.go
2828
match: CoreDNSVersion =

cmd/kubeadm/app/constants/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ const (
329329
KubeDNSVersion = "1.14.13"
330330

331331
// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
332-
CoreDNSVersion = "1.6.7"
332+
CoreDNSVersion = "1.7.0"
333333

334334
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
335335
ClusterConfigurationKind = "ClusterConfiguration"

cmd/kubeadm/app/phases/addons/dns/dns_test.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,9 @@ func TestCreateCoreDNSConfigMap(t *testing.T) {
585585
ttl 30
586586
}
587587
prometheus :9153
588-
forward . /etc/resolv.conf
588+
forward . /etc/resolv.conf {
589+
max_concurrent 1000
590+
}
589591
cache 30
590592
loop
591593
reload
@@ -623,7 +625,9 @@ func TestCreateCoreDNSConfigMap(t *testing.T) {
623625
fallthrough in-addr.arpa ip6.arpa
624626
}
625627
prometheus :9153
626-
forward . /etc/resolv.conf
628+
forward . /etc/resolv.conf {
629+
max_concurrent 1000
630+
}
627631
k8s_external example.com
628632
cache 30
629633
loop

cmd/kubeadm/app/phases/addons/dns/manifests.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@ data:
320320
ttl 30
321321
}
322322
prometheus :9153
323-
forward . {{ .UpstreamNameserver }}
323+
forward . {{ .UpstreamNameserver }} {
324+
max_concurrent 1000
325+
}
324326
cache 30
325327
loop
326328
reload

0 commit comments

Comments
 (0)