From 7bd6855155eabe6369c5f3b440299be1aadd7170 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Sun, 13 Jan 2019 10:09:51 -0800 Subject: Deprecate multiple endpoints for out-of-cluster k8s api (#2454) This fix deprecates endpoints for out-of-cluster k8s api, The Corefile still takes multiple endpoints though only the first one is used. A warning is shown if there are multiple endpoints. Signed-off-by: Yong Tang --- plugin/kubernetes/setup_test.go | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'plugin/kubernetes/setup_test.go') diff --git a/plugin/kubernetes/setup_test.go b/plugin/kubernetes/setup_test.go index 353e0bd6d..ef8a493ae 100644 --- a/plugin/kubernetes/setup_test.go +++ b/plugin/kubernetes/setup_test.go @@ -394,19 +394,6 @@ kubernetes cluster.local`, podModeDisabled, fall.Zero, }, - { - `kubernetes coredns.local { - endpoint http://localhost:9090 https://localhost:9091 -}`, - true, - "multiple endpoints can only accept http", - -1, - -1, - defaultResyncPeriod, - "", - podModeDisabled, - fall.Zero, - }, } for i, test := range tests { -- cgit v1.2.3