plugin/k8s_external: Resolve headless services (#5505)
*add option for resolving headless Services without external IPs in k8s_external Signed-off-by: Tomas Kohout <tomas.kohout1995@gmail.com>
This commit is contained in:
parent
b218b56063
commit
6782b7fb42
15 changed files with 491 additions and 81 deletions
|
@ -17,6 +17,7 @@ func TestApex(t *testing.T) {
|
|||
k.APIConn = &external{}
|
||||
|
||||
e := New()
|
||||
e.headless = true
|
||||
e.Zones = []string{"example.com."}
|
||||
e.Next = test.NextHandler(dns.RcodeSuccess, nil)
|
||||
e.externalFunc = k.External
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue