ori-edge / k8s_gateway

A CoreDNS plugin to resolve all types of external Kubernetes resources
Apache License 2.0
316 stars 65 forks source link

Add support for external cluster with kubeconfig #20

Closed p3lim closed 3 years ago

p3lim commented 3 years ago

This allows you to configure a path for a kubeconfig to communicate with an external Kubernetes cluster.

.:53 {
    k8s_gateway example.org {
        kubeconfig /config
    }
}

Probably needs some tests, but works just fine.

Fixes #12

networkop commented 3 years ago

seems to be working fine for me. Thanks @p3lim