aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Antonio Ojea <6450081+aojea@users.noreply.github.com> 2019-12-19 15:34:03 +0100
committerGravatar Chris O'Haver <cohaver@infoblox.com> 2019-12-19 09:34:03 -0500
commite1cf9ccdab004dccaac65543a62ef6c5d22ca841 (patch)
treef668e9786c33b579098e98c9cbdae767e39958d4 /plugin
parentd5ab0a781d4ed84f96d15115d5b4830c2bed0560 (diff)
downloadcoredns-e1cf9ccdab004dccaac65543a62ef6c5d22ca841.tar.gz
coredns-e1cf9ccdab004dccaac65543a62ef6c5d22ca841.tar.zst
coredns-e1cf9ccdab004dccaac65543a62ef6c5d22ca841.zip
Bump kubernetes plugin schema version (#3554)
The Kubernetes DNS specification schema version was updated to 1.1.0 in order to support IPv6 Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/kubernetes/handler_test.go2
-rw-r--r--plugin/kubernetes/kubernetes.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/kubernetes/handler_test.go b/plugin/kubernetes/handler_test.go
index 186c2a3a6..9579f8421 100644
--- a/plugin/kubernetes/handler_test.go
+++ b/plugin/kubernetes/handler_test.go
@@ -264,7 +264,7 @@ var dnsTestCases = []test.Case{
Qname: "dns-version.cluster.local.", Qtype: dns.TypeTXT,
Rcode: dns.RcodeSuccess,
Answer: []dns.RR{
- test.TXT("dns-version.cluster.local 28800 IN TXT 1.0.1"),
+ test.TXT("dns-version.cluster.local 28800 IN TXT 1.1.0"),
},
},
// A Service (Headless) does not exist
diff --git a/plugin/kubernetes/kubernetes.go b/plugin/kubernetes/kubernetes.go
index 68176d78c..13c3a7959 100644
--- a/plugin/kubernetes/kubernetes.go
+++ b/plugin/kubernetes/kubernetes.go
@@ -69,7 +69,7 @@ const (
// podModeInsecure is where pod requests are answered without verifying they exist
podModeInsecure = "insecure"
// DNSSchemaVersion is the schema version: https://github.com/kubernetes/dns/blob/master/docs/specification.md
- DNSSchemaVersion = "1.0.1"
+ DNSSchemaVersion = "1.1.0"
// Svc is the DNS schema for kubernetes services
Svc = "svc"
// Pod is the DNS schema for kubernetes pods