aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/controller.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-05-23ADD ignoreemptyservice option for kubernetes plugin (#1813)Gravatar darkweaver87 1-0/+1
* ADD: ignoreemptyservice option for kubernetes plugin * Modify documentation and rename option to add space * UPD: Add unit tests * UPD: gofmt * Add unit test for ignore emptyservice * gofmt * xfr tests failed * Rename emptyservice to empty_service
2018-02-16plugin/kubernetes: Add noendpoints option (#1536)Gravatar Chris O'Haver 1-13/+24
* add noendpoints option * go fmt
2018-02-15plugin/kubernetes: add namespace watch (#1533)Gravatar Chris O'Haver 1-7/+56
* add namespace watch * start ns watch, and add sync check
2018-02-09Stop noisy modifications (#1517)Gravatar John Belamaric 1-3/+61
* Stop noisy modifications * Review comments, tests * More coverage * vet * Make it obvious new port name is not a typo
2018-02-08support for zone transfer for kubernetes (#1259)Gravatar Brad Beam 1-12/+36
* plugin/kubernetes: axfr Hook up dynamic SOA serial by setting ResourceEventHandlerFuncs in dnsController. Add prototype of returns msg.Services via the Transfer function. Leave expanding this to RRs out of scope for a bit. * plugin/kubernetes: axfr Respond to AXFR queries * Fixing race condition * Fixing instantiation of dnstest writer * Updates from review
2018-01-24Remove pointers to labels.Selector and pass normally instead (#1422)Gravatar Ilya Galimyanov 1-14/+14
2018-01-03Update k8s client-go to v6.0.0 (#1340)Gravatar Yong Tang 1-9/+9
* Update k8s client-go to v6.0.0 This fix updates k8s client-go to v6.0.0 as CoreDNS is supported in 1.9 and v6.0.0 is the recommended version. There are quite some massive changes that need to be made: 1. k8s.io/client-go/pkg/api/v1 has been changed to k8s.io/api/v1 (repo changed from `client-go` to `api`) 2. kubernetes.Clientset adds one extra layer, so that `kubernetes.Clientset.Services()` and like has been changed to `kubernetes.Clientset.CoreV1().Services()` Also, we have to stick with specific commits of `k8s.io/apimachinery` and the newly introduced `k8s.io/api` because go dep still could not figure out the right version to fetch. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update vendor with `dep ensure --update` and `dep prune` Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-11-13plugin/kubernetes: correctly set NODATA for ns (#1229)Gravatar Miek Gieben 1-0/+15
* plugin/kubernetes: Add GetNamespaceByName A bare or wildcard query for just the namespace should return NODATA, not NXDOMAIN, otherwise we deny the entirety of the names under the namespace. Add test to check for this in pod verified mode. * Review More comments and move namespace code to namespace.go
2017-11-10plugin/k8s: fix endpoint index creation (#1222)Gravatar Chris O'Haver 1-3/+9
2017-10-20plugin/kubernetes: implement HasSynced() (#1155)Gravatar Miek Gieben 1-11/+12
* plugin/kubernetes: wait until api is ready Wait for HasSynced before allowing startup to avoid startup race. Also do a small refactor in findServices() to pull a check out of the loop - only needs to be done once. * sigh
2017-10-17Plugin/Kubernetes: Service and Endpoint Indexing (#1149)Gravatar Sandeep Rajan 1-4/+118
* indexing * corrections
2017-09-29plugin/kubernetes: Enable protobuf, Update client api package (#1114)Gravatar Chris O'Haver 1-208/+82
* vendor * code
2017-09-21Fix autopath crash when pods verified not enabled (#1099)Gravatar John Belamaric 1-0/+3
2017-09-14Remove the word middleware (#1067)Gravatar Miek Gieben 1-0/+399
* 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