Commit e1cf9ccd authored by Antonio Ojea's avatar Antonio Ojea Committed by Chris O'Haver

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: default avatarAntonio Ojea <antonio.ojea.garcia@gmail.com>
parent d5ab0a78
...@@ -264,7 +264,7 @@ var dnsTestCases = []test.Case{ ...@@ -264,7 +264,7 @@ var dnsTestCases = []test.Case{
Qname: "dns-version.cluster.local.", Qtype: dns.TypeTXT, Qname: "dns-version.cluster.local.", Qtype: dns.TypeTXT,
Rcode: dns.RcodeSuccess, Rcode: dns.RcodeSuccess,
Answer: []dns.RR{ 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 // A Service (Headless) does not exist
......
...@@ -69,7 +69,7 @@ const ( ...@@ -69,7 +69,7 @@ const (
// podModeInsecure is where pod requests are answered without verifying they exist // podModeInsecure is where pod requests are answered without verifying they exist
podModeInsecure = "insecure" podModeInsecure = "insecure"
// DNSSchemaVersion is the schema version: https://github.com/kubernetes/dns/blob/master/docs/specification.md // 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 is the DNS schema for kubernetes services
Svc = "svc" Svc = "svc"
// Pod is the DNS schema for kubernetes pods // Pod is the DNS schema for kubernetes pods
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment