update coredns version to 1.7.0

This commit is contained in:
Sandeep Rajan 2020-06-29 15:27:11 -04:00
parent 70e09f2c24
commit 04038fc791
4 changed files with 11 additions and 5 deletions

View File

@ -22,7 +22,7 @@ dependencies:
match: k8s.gcr.io/coredns match: k8s.gcr.io/coredns
- name: "coredns-kubeadm" - name: "coredns-kubeadm"
version: 1.6.7 version: 1.7.0
refPaths: refPaths:
- path: cmd/kubeadm/app/constants/constants.go - path: cmd/kubeadm/app/constants/constants.go
match: CoreDNSVersion = match: CoreDNSVersion =

View File

@ -329,7 +329,7 @@ const (
KubeDNSVersion = "1.14.13" KubeDNSVersion = "1.14.13"
// CoreDNSVersion is the version of CoreDNS to be deployed if it is used // CoreDNSVersion is the version of CoreDNS to be deployed if it is used
CoreDNSVersion = "1.6.7" CoreDNSVersion = "1.7.0"
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct // ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
ClusterConfigurationKind = "ClusterConfiguration" ClusterConfigurationKind = "ClusterConfiguration"

View File

@ -585,7 +585,9 @@ func TestCreateCoreDNSConfigMap(t *testing.T) {
ttl 30 ttl 30
} }
prometheus :9153 prometheus :9153
forward . /etc/resolv.conf forward . /etc/resolv.conf {
max_concurrent 1000
}
cache 30 cache 30
loop loop
reload reload
@ -623,7 +625,9 @@ func TestCreateCoreDNSConfigMap(t *testing.T) {
fallthrough in-addr.arpa ip6.arpa fallthrough in-addr.arpa ip6.arpa
} }
prometheus :9153 prometheus :9153
forward . /etc/resolv.conf forward . /etc/resolv.conf {
max_concurrent 1000
}
k8s_external example.com k8s_external example.com
cache 30 cache 30
loop loop

View File

@ -320,7 +320,9 @@ data:
ttl 30 ttl 30
} }
prometheus :9153 prometheus :9153
forward . {{ .UpstreamNameserver }} forward . {{ .UpstreamNameserver }} {
max_concurrent 1000
}
cache 30 cache 30
loop loop
reload reload