diff options
author | 2019-01-13 10:09:51 -0800 | |
---|---|---|
committer | 2019-01-13 10:09:51 -0800 | |
commit | 7bd6855155eabe6369c5f3b440299be1aadd7170 (patch) | |
tree | 8726eeb2a18e1d8d2a6f43051f030b2aaebf85b0 /plugin/kubernetes/setup_test.go | |
parent | f655d404d45d2ca31491f846818f671c6a3b5a5d (diff) | |
download | coredns-7bd6855155eabe6369c5f3b440299be1aadd7170.tar.gz coredns-7bd6855155eabe6369c5f3b440299be1aadd7170.tar.zst coredns-7bd6855155eabe6369c5f3b440299be1aadd7170.zip |
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 <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin/kubernetes/setup_test.go')
-rw-r--r-- | plugin/kubernetes/setup_test.go | 13 |
1 files changed, 0 insertions, 13 deletions
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 { |