diff options
author | 2017-08-14 08:49:26 +0100 | |
---|---|---|
committer | 2017-08-14 08:49:26 +0100 | |
commit | 00f5c7797e265dc2fecad5acbfcfdad9797e48e5 (patch) | |
tree | 92d2e98f10a8d25f8b8a9a9239b88ff85f2866b6 /middleware/file/setup.go | |
parent | 818d2b10adc6e69b2f94a50a56ac292a12278861 (diff) | |
download | coredns-00f5c7797e265dc2fecad5acbfcfdad9797e48e5.tar.gz coredns-00f5c7797e265dc2fecad5acbfcfdad9797e48e5.tar.zst coredns-00f5c7797e265dc2fecad5acbfcfdad9797e48e5.zip |
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
Diffstat (limited to 'middleware/file/setup.go')
-rw-r--r-- | middleware/file/setup.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/middleware/file/setup.go b/middleware/file/setup.go index 62b561a35..2ac7610c5 100644 --- a/middleware/file/setup.go +++ b/middleware/file/setup.go @@ -115,6 +115,8 @@ func fileParse(c *caddy.Controller) (Zones, error) { return Zones{}, err } prxy = proxy.NewLookup(ups) + default: + return Zones{}, c.Errf("unknown property '%s'", c.Val()) } for _, origin := range origins { |