Skip to content

Commit

Permalink
Support CoreDNS 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpollet committed Jun 23, 2020
1 parent 1f010a3 commit 6f3117c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration/coredns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func (s *CoreDNSSuite) SetUpSuite(c *check.C) {
"coredns/coredns:1.4.0",
"coredns/coredns:1.5.2",
"coredns/coredns:1.6.3",
"coredns/coredns:1.7.0",
"giantswarm/tiny-tools:3.9",
}
s.startk3s(c, requiredImages)
Expand Down Expand Up @@ -88,6 +89,10 @@ func (s *CoreDNSSuite) TestCoreDNSVersion(c *check.C) {
desc: "CoreDNS 1.6.3",
version: "1.6.3",
},
{
desc: "CoreDNS 1.7.0",
version: "1.7.0",
},
}

s.createResources(c, "testdata/coredns/coredns.yaml")
Expand Down
1 change: 1 addition & 0 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func Test(t *testing.T) {
images = append(images, image{"coredns/coredns:1.4.0", true})
images = append(images, image{"coredns/coredns:1.5.2", true})
images = append(images, image{"coredns/coredns:1.6.3", true})
images = append(images, image{"coredns/coredns:1.7.0", true})
images = append(images, image{"giantswarm/tiny-tools:3.9", true})
images = append(images, image{"gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.7", true})
images = append(images, image{"gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.7", true})
Expand Down
1 change: 1 addition & 0 deletions pkg/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ var (
"1.4",
"1.5",
"1.6",
"1.7",
}
)

Expand Down

0 comments on commit 6f3117c

Please sign in to comment.