aboutsummaryrefslogtreecommitdiff
path: root/middleware/kubernetes/ns.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Remove the word middleware (#1067)Gravatar Miek Gieben 1-65/+0
* Rename middleware to plugin first pass; mostly used 'sed', few spots where I manually changed text. This still builds a coredns binary. * fmt error * Rename AddMiddleware to AddPlugin * Readd AddMiddleware to remain backwards compat
2017-08-18mw/federation: add federation back as separate mw for k8s (#929)Gravatar Miek Gieben 1-2/+2
* mw/federaration This PR add the federation back as a middleware to keep it more contained from the main kubernetes code. It also makes parseRequest less import and pushes this functionlity down in the k.Entries. This minimizes (or tries to) the importance for the qtype in the query. In the end the qtype checking should only happen in ServeDNS - but for k8s this might proof difficult. Numerous other cleanup in code and kubernetes tests. * up test coverage
2017-08-11mw/k8s: use request.Request in parseRequestGravatar Miek Gieben 1-1/+0
2017-08-11mw/k8s: remove k.defaultNsMsg() (#892)Gravatar Miek Gieben 1-14/+0
Remove k.defaultNSMsg() it is just one line of getting the service and it is another method that needlessly uses recordRequest.
2017-08-10mw/k8s: remove dependence on global var (#888)Gravatar Miek Gieben 1-44/+38
* mw/k8s: remove dependence on global var Remove the global coreDNSRecord that was used. Remove tests the referenced that var. Cleanup the rest. * Rename function as well * fixes
2017-08-04not used anymore (#832)Gravatar Miek Gieben 1-10/+0
2017-08-03middleware/kubernetes: cleanup (#818)Gravatar Miek Gieben 1-16/+6
Drop the interfaceAddr interfaces and just use a function. Cleanup all fallout from that. Remove the use of global variables and cleanup the tests a bit.
2017-08-03mw/kubernete: small cleanup (#810)Gravatar Miek Gieben 1-9/+0
* mw/kubernete: small cleanup Small cleanup, avoid pointer to []msg.Services and just returns the msg.Service. * Actually compile * testss
2017-06-02unexpose items per lint (#701)Gravatar Chris O'Haver 1-7/+7
2017-06-02unexpose InterfaceAddrser (#693)Gravatar Chris O'Haver 1-5/+5
2017-05-22Handle K8s middleware NS record (#662)Gravatar Chris O'Haver 1-0/+115
* commit for testing in cluster * commit for testing in cluster * refactor and add ns.dns record * Release 007 * reduce heap allocations * gofmt * revert accidental Makefile commits * restore prior rcode for disabled pod mode * revert Makefile deltas * add unit tests * more unit tests * make isRequestInReverseRange easier to test * more unit tests * addressing review feedback * commit setup.go