mw/kubernetes: remove federation and cidr (#916)
* mw/kubernetes: remove federation and cidr Remove both as we have a corefile syntax change that handles cidr and remove federation because that is going to be its own middleware. * backwards incompat changes This PR: * removes cidr from kubernetes (core Corefile feature now) * removes federation from kubernets (comes back as new middleware) * [remove autopath - which was already gone, so that already was backwards incompat] * adds `fallthrough` to the *etcd* middleware and makes you enable it. * Fail on unknown properties * documentation * Disable TestHealthCheck as it uses realtime and fails
This commit is contained in:
parent
818d2b10ad
commit
00f5c7797e
26 changed files with 197 additions and 815 deletions
|
@ -18,21 +18,21 @@ func TestParseRequest(t *testing.T) {
|
|||
{
|
||||
// valid SRV request
|
||||
"_http._tcp.webs.mynamespace.svc.inter.webs.test.", dns.TypeSRV,
|
||||
"http.tcp..webs.mynamespace.svc.intern.webs.tests..",
|
||||
"http.tcp..webs.mynamespace.svc.intern.webs.tests.",
|
||||
},
|
||||
{
|
||||
// wildcard acceptance
|
||||
"*.any.*.any.svc.inter.webs.test.", dns.TypeSRV,
|
||||
"*.any..*.any.svc.intern.webs.tests..",
|
||||
"*.any..*.any.svc.intern.webs.tests.",
|
||||
},
|
||||
{
|
||||
// A request of endpoint
|
||||
"1-2-3-4.webs.mynamespace.svc.inter.webs.test.", dns.TypeA,
|
||||
"..1-2-3-4.webs.mynamespace.svc.intern.webs.tests..",
|
||||
"..1-2-3-4.webs.mynamespace.svc.intern.webs.tests.",
|
||||
},
|
||||
{
|
||||
"inter.webs.test.", dns.TypeNS,
|
||||
"......intern.webs.tests..",
|
||||
"......intern.webs.tests.",
|
||||
},
|
||||
}
|
||||
for i, tc := range tests {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue