mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 01:04:15 -04:00
middleware/authpath: Fix return from k8s mw (#871)
* middleware/authpath: Fix return from k8s mw Return the correct search path from the kubernetes' AutoPath function. Based on preliminary discussion in #870 * PodWithIP can be private Fix and add docs to functions. * CR: remove the error from AutoPathFunc
This commit is contained in:
@@ -47,6 +47,7 @@ type Kubernetes struct {
|
||||
Fallthrough bool
|
||||
|
||||
interfaceAddrsFunc func() net.IP
|
||||
autoPathSearch []string // Local search path from /etc/resolv.conf. Needed for autopath.
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user