aboutsummaryrefslogtreecommitdiff
path: root/middleware/kubernetes (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-08-03mw/kubernete: small cleanup (#810)Gravatar Miek Gieben 4-45/+36
* mw/kubernete: small cleanup Small cleanup, avoid pointer to []msg.Services and just returns the msg.Service. * Actually compile * testss
2017-08-02Add TXT coverage (#807)Gravatar Sandeep Rajan 1-0/+7
2017-07-29README.md: clean TLS cert language (#797)Gravatar Miek Gieben 1-2/+2
Cleanup various READMEs to use the same naming scheme for certs, keys, and cacerts. Fixes #762
2017-07-20middleware/kubernetes: fix aaaa response (#780)Gravatar Chris O'Haver 3-8/+25
* fix aaaa response * unit tests
2017-07-11k8s/autopath: Add CNAMES (#771)Gravatar Chris O'Haver 6-27/+585
* Add unit tests & cnames * more progress * fix * next mw dependent unit tests * add tests for OnNXDOMAIN * Add AAAA and ndots unit tests; fix request.NewWithQuestion * Correct default value in README * add CNAMEs to readme * review * fix autopath examples * fix and test CNAME response order
2017-07-07remove unused code (#774)Gravatar Chris O'Haver 1-54/+0
2017-07-01middleware/backend: add Records() to ServiceBackend interface (#770)Gravatar Mia Boulay 2-5/+10
2017-07-01middleware/kubernetes: Rewrite/expand readme (#764)Gravatar Chris O'Haver 1-182/+242
* rewrite readme * remove breaks * missed a break * nits * show options as optional * add note to pods insecure * add minimal configuration example. * add a note about replacing kube-dns in the summary * move deployment section into summary. * Update README.md * replace options sections with bullets and indent all sub sections to match bullet indentation. not sure if this will render in github properly - it doesn't in the in-line editor preview. * fix indentation Contrary to various on-line guides and editors, github now requires 2 spaces to indent paragraphs with bulleted sections above (not just 1). * Update README.md * Update README.md * Update README.md * fix label syntax It's just a single EXPRESSION. The EXPRESSION itself has its own kubernetes label expression format. * Update README.md * Update README.md
2017-06-28middleware/kubernetes: Server side path lookups (#750)Gravatar Chris O'Haver 6-51/+407
* initial commit * add config options * add readme * rewording * revert unlreated change * normalize host domain path * add ndots opt, allow > 1 host domains, pull host domains from resolv.conf * implementing review feedback * update readme * use dns lib, config format, defaults * Correct autopath example.
2017-06-23dont load default vals from env (#751)Gravatar Chris O'Haver 1-3/+1
2017-06-16compress empty implementations to single line (#740)Gravatar Chris O'Haver 2-22/+7
2017-06-14cleanup: go vet and golint run (#736)Gravatar Miek Gieben 6-31/+30
* cleanup: go vet and golint run Various cleanups trickered by go vet and golint. * Fix tests and lowercase all errors Lowercase all errors, some tests in kubernetes use errors from kubernetes which do start with a capital letter.
2017-06-14handle clusterIP endpoint queries (#730)Gravatar Chris O'Haver 2-33/+41
2017-06-14middleware/kubernetes: Implement current federation beta (#723)Gravatar Chris O'Haver 9-17/+420
* federation initial commit * UTs/bugfixes * federation bits * polish, cover UT gaps * add TODO * go fmt & todo note * remove unrelated change * pr changes * start node watcher * get real node name * remove unused case
2017-06-09remove unused funcs (#724)Gravatar Chris O'Haver 1-24/+0
2017-06-03add more coverage (#702)Gravatar Chris O'Haver 1-1/+97
2017-06-02unexpose items per lint (#701)Gravatar Chris O'Haver 2-8/+8
2017-06-02unexpose InterfaceAddrser (#693)Gravatar Chris O'Haver 4-10/+10
2017-06-01fix typo (#692)Gravatar Chris O'Haver 1-1/+1
2017-05-30Add k8s external service CNAMEs (#677)Gravatar Chris O'Haver 5-4/+216
* Add external service cnames * remove cruft * update CI k8s version * change CI k8s version * min k8s ver for ext services * trying k8s 1.5 * k8s 1.5 requires ports spec * remove kruft * update dns schema version
2017-05-25Check that all the controllers are synced agains api server (#671)Gravatar Manuel Alejandro de Brito Fontes 1-1/+9
2017-05-25Some golint cleanup (#674)Gravatar Yong Tang 1-3/+2
This commit fixes some golint issues in `core/dnsserver` and `middleware/kubernetes`. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-05-22Handle K8s middleware NS record (#662)Gravatar Chris O'Haver 8-98/+531
* 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
2017-04-30Remove annoying INFO from k8s middleware (#655)Gravatar John Belamaric 1-3/+1
2017-04-19Update the various Kubernetes middleware README files. (#630)Gravatar John Belamaric 3-174/+21
2017-04-19Add fallthrough support for Kubernetes (#626)Gravatar John Belamaric 4-0/+60
* Add fallthrough support for Kubernetes This enables registering other services in the same zone as Kubernetes services. This also re-orders the middleware chain so that Kubernetes comes before other types, in order to make this work out-of-the-box. * Remove extra line
2017-03-06Don't error log NXDOMAIN (#572)Gravatar Miek Gieben 1-1/+2
In both etcd and k8s don't error log NXDOMAIN as this log spams the logs for no good reason. Fixes #568 Better long term solution is log rate limiting for both *log* and *error*.
2017-03-06middleware/kubernetes: doc cleanup (#571)Gravatar Miek Gieben 4-29/+22
Set of small cleanups.
2017-02-22Remove deployment helpers that are now in coredns/deployment/kubernetes (#554)Gravatar John Belamaric 3-122/+3
2017-02-22Fix test (#549)Gravatar Miek Gieben 1-1/+1
2017-02-22Golint (#548)Gravatar Miek Gieben 3-4/+4
* linter fixes * Golint and format code * fmt
2017-02-22Fix import path `github.com/miekg/coredns` -> `github.com/coredns/coredns` ↵Gravatar Yong Tang 4-14/+14
(#547) This fix fixes import path from `github.com/miekg/coredns` -> `github.com/coredns/coredns`
2017-02-09Update to point to coredns/coredns image (#517)Gravatar John Belamaric 1-1/+1
2017-02-08Fix k8s chaining (#510)Gravatar Chris O'Haver 1-9/+10
* fix k8s next middleware chaining * add chain to integration tests * if nit
2017-02-07Fix k8s PTR when all namespaces exposed (#507)Gravatar Chris O'Haver 1-2/+2
* check for no namespace filter * integration test
2017-02-07Fix no PTR records response for cidr ranges (#506)Gravatar Chris O'Haver 1-5/+9
* set zone for cidr based PTRs * set zone to request
2017-02-07 * Add script to generate manifest (#504)Gravatar John Belamaric 3-0/+122
2017-02-02k8s middleware add tests and docs update (#501)Gravatar Chris O'Haver 4-325/+431
* add cidrs opt * remove state data from middleware object * update k8s docs * Add integration tests * add unit tests for cidr and pods config * more README fixes, separate dev notes * adjust section headers * fix typo
2017-02-01Allow cidr based reverse zone config (#500)Gravatar Chris O'Haver 3-1/+33
* add cidrs opt * remove state data from middleware object
2017-01-29Fix `go fmt`, `go lint`, and `go vet` issues (#494)Gravatar Yong Tang 2-12/+16
This fix fixes several `go fmt`, `go lint`, and `go vet` issues, to make goreportcard happy: https://goreportcard.com/report/github.com/miekg/coredns Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-23correct k8s name parsing response codes (#493)Gravatar Chris O'Haver 1-20/+14
2017-01-22only a * by itself is wild (#488)Gravatar Chris O'Haver 2-4/+4
2017-01-20Add pod cache and verified pod responses (#483)Gravatar Chris O'Haver 3-6/+98
* Add pod cache and verified pod responses * add ip indexing for pod cache
2017-01-15Add txt response per k8s specGravatar Chris OHaver 1-4/+30
2017-01-15dont require/allow "_" prefix for srv wildcard fields (#472)Gravatar Chris O'Haver 8-584/+229
* dont require/allow "_" prefix for srv wildcard fields * streamline parse/validation of req name * removing nametemplate * error when zone not found, loopify unit tests
2017-01-12Pod insecure2 (#479)Gravatar Chris O'Haver 1-1/+1
* return servfail for pod rqsts when pods disabled * Add integration test for disabled pod mode
2017-01-11Add insecure A records for pods (#475)Gravatar Chris O'Haver 3-17/+98
2017-01-05handle A/PTR/SRV for headless services/endpoints (#464)Gravatar Chris O'Haver 1-52/+201
* handle A/PTR/SRV for headless services/endpoints * error early if _proto will produce nothing * remove wc params + various style tweaks * Release 004 * handle A/PTR/SRV for headless services/endpoints * error early if _proto will produce nothing * remove wc params + various style tweaks * optimize srv prefix validation * poking travis * reduce response sizes, clean func params
2016-12-20Add middleware.NextOrFailure (#462)Gravatar Miek Gieben 1-6/+3
This checks if the next middleware to be called is nil, and if so returns ServerFailure and an error. This makes the next calling more robust and saves some lines of code. Also prefix the error with the name of the middleware to aid in debugging.
2016-12-14Return no items if less than 3 items in service segmentsGravatar Dmytro Kislov 1-0/+3