* Add forwardcrd plugin README.md Co-authored-by: Aidan Obley <aobley@vmware.com> Signed-off-by: Christian Ang <angc@vmware.com> * Create forwardcrd plugin - Place forwardcrd before forward plugin in plugin list. This will avoid forward from preventing the forwardcrd plugin from handling any queries in the case of having a default upstream forwarder in a server block (as is the case in the default kubernetes Corefile). Co-authored-by: Aidan Obley <aobley@vmware.com> Signed-off-by: Christian Ang <angc@vmware.com> * Add Forward CRD Signed-off-by: Christian Ang <angc@vmware.com> * Add NewWithConfig to forward plugin - allows external packages to instanciate forward plugins Co-authored-by: Aidan Obley <aobley@vmware.com> Signed-off-by: Christian Ang <angc@vmware.com> * ForwardCRD plugin handles requests for Forward CRs - add a Kubernetes controller that can read Forward CRs - instances of the forward plugin are created based on Forward CRs from the Kubernetes controller - DNS requests are handled by calling matching Forward plugin instances based on zone name - Defaults to the kube-system namespace to align with Corefile RBAC Signed-off-by: Christian Ang <angc@vmware.com> Use klog v2 in forwardcrd plugin * Refactor forward setup to use NewWithConfig Co-authored-by: Christian Ang <angc@vmware.com> Signed-off-by: Edwin Xie <exie@vmware.com> * Use ParseInt instead of Atoi - to ensure that the bitsize is 32 for later casting to uint32 Signed-off-by: Christian Ang <angc@vmware.com> * Add @christianang to CODEOWNERS for forwardcrd Signed-off-by: Christian Ang <angc@vmware.com> Co-authored-by: Edwin Xie <exie@vmware.com>
57 lines
2.3 KiB
Go
57 lines
2.3 KiB
Go
// generated by directives_generate.go; DO NOT EDIT
|
|
|
|
package plugin
|
|
|
|
import (
|
|
// Include all plugins.
|
|
_ "github.com/coredns/caddy/onevent"
|
|
_ "github.com/coredns/coredns/plugin/acl"
|
|
_ "github.com/coredns/coredns/plugin/any"
|
|
_ "github.com/coredns/coredns/plugin/auto"
|
|
_ "github.com/coredns/coredns/plugin/autopath"
|
|
_ "github.com/coredns/coredns/plugin/azure"
|
|
_ "github.com/coredns/coredns/plugin/bind"
|
|
_ "github.com/coredns/coredns/plugin/bufsize"
|
|
_ "github.com/coredns/coredns/plugin/cache"
|
|
_ "github.com/coredns/coredns/plugin/cancel"
|
|
_ "github.com/coredns/coredns/plugin/chaos"
|
|
_ "github.com/coredns/coredns/plugin/clouddns"
|
|
_ "github.com/coredns/coredns/plugin/debug"
|
|
_ "github.com/coredns/coredns/plugin/dns64"
|
|
_ "github.com/coredns/coredns/plugin/dnssec"
|
|
_ "github.com/coredns/coredns/plugin/dnstap"
|
|
_ "github.com/coredns/coredns/plugin/erratic"
|
|
_ "github.com/coredns/coredns/plugin/errors"
|
|
_ "github.com/coredns/coredns/plugin/etcd"
|
|
_ "github.com/coredns/coredns/plugin/file"
|
|
_ "github.com/coredns/coredns/plugin/forward"
|
|
_ "github.com/coredns/coredns/plugin/forwardcrd"
|
|
_ "github.com/coredns/coredns/plugin/geoip"
|
|
_ "github.com/coredns/coredns/plugin/grpc"
|
|
_ "github.com/coredns/coredns/plugin/header"
|
|
_ "github.com/coredns/coredns/plugin/health"
|
|
_ "github.com/coredns/coredns/plugin/hosts"
|
|
_ "github.com/coredns/coredns/plugin/k8s_external"
|
|
_ "github.com/coredns/coredns/plugin/kubernetes"
|
|
_ "github.com/coredns/coredns/plugin/loadbalance"
|
|
_ "github.com/coredns/coredns/plugin/local"
|
|
_ "github.com/coredns/coredns/plugin/log"
|
|
_ "github.com/coredns/coredns/plugin/loop"
|
|
_ "github.com/coredns/coredns/plugin/metadata"
|
|
_ "github.com/coredns/coredns/plugin/metrics"
|
|
_ "github.com/coredns/coredns/plugin/minimal"
|
|
_ "github.com/coredns/coredns/plugin/nsid"
|
|
_ "github.com/coredns/coredns/plugin/pprof"
|
|
_ "github.com/coredns/coredns/plugin/ready"
|
|
_ "github.com/coredns/coredns/plugin/reload"
|
|
_ "github.com/coredns/coredns/plugin/rewrite"
|
|
_ "github.com/coredns/coredns/plugin/root"
|
|
_ "github.com/coredns/coredns/plugin/route53"
|
|
_ "github.com/coredns/coredns/plugin/secondary"
|
|
_ "github.com/coredns/coredns/plugin/sign"
|
|
_ "github.com/coredns/coredns/plugin/template"
|
|
_ "github.com/coredns/coredns/plugin/tls"
|
|
_ "github.com/coredns/coredns/plugin/trace"
|
|
_ "github.com/coredns/coredns/plugin/transfer"
|
|
_ "github.com/coredns/coredns/plugin/whoami"
|
|
)
|