Age | Commit message (Collapse) | Author | Files | Lines |
|
* mw/kubernete: small cleanup
Small cleanup, avoid pointer to []msg.Services and just returns the
msg.Service.
* Actually compile
* testss
|
|
|
|
Cleanup various READMEs to use the same naming scheme for certs, keys,
and cacerts.
Fixes #762
|
|
* fix aaaa response
* unit tests
|
|
* 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
|
|
|
|
|
|
* 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
|
|
* 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.
|
|
|
|
|
|
* 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.
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
This commit fixes some golint issues in `core/dnsserver`
and `middleware/kubernetes`.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
|
* 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
|
|
|
|
|
|
* 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
|
|
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*.
|
|
Set of small cleanups.
|
|
|
|
|
|
* linter fixes
* Golint and format code
* fmt
|
|
(#547)
This fix fixes import path from
`github.com/miekg/coredns`
->
`github.com/coredns/coredns`
|
|
|
|
* fix k8s next middleware chaining
* add chain to integration tests
* if nit
|
|
* check for no namespace filter
* integration test
|
|
* set zone for cidr based PTRs
* set zone to request
|
|
|
|
* 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
|
|
* add cidrs opt
* remove state data from middleware object
|
|
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>
|
|
|
|
|
|
* Add pod cache and verified pod responses
* add ip indexing for pod cache
|
|
|
|
* dont require/allow "_" prefix for srv wildcard fields
* streamline parse/validation of req name
* removing nametemplate
* error when zone not found, loopify unit tests
|
|
* return servfail for pod rqsts when pods disabled
* Add integration test for disabled pod mode
|
|
|
|
* 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
|
|
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.
|
|
|