aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/parse_test.go
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2022-02-09 09:25:10 -0500
committerGravatar GitHub <noreply@github.com> 2022-02-09 09:25:10 -0500
commitabaf938623eaae632afd8548ebf5fdc5c3197c5a (patch)
treecc3f4f795c779ba9aa993577c1e1d1bb69b2c4bc /plugin/kubernetes/parse_test.go
parent40a526b27ff15291d6ae4a4e5c199ef292210a89 (diff)
downloadcoredns-abaf938623eaae632afd8548ebf5fdc5c3197c5a.tar.gz
coredns-abaf938623eaae632afd8548ebf5fdc5c3197c5a.tar.zst
coredns-abaf938623eaae632afd8548ebf5fdc5c3197c5a.zip
remove wildcard query functionality (#5019)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Diffstat (limited to 'plugin/kubernetes/parse_test.go')
-rw-r--r--plugin/kubernetes/parse_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/kubernetes/parse_test.go b/plugin/kubernetes/parse_test.go
index 68cff668b..4b8000b02 100644
--- a/plugin/kubernetes/parse_test.go
+++ b/plugin/kubernetes/parse_test.go
@@ -15,10 +15,8 @@ func TestParseRequest(t *testing.T) {
}{
// valid SRV request
{"_http._tcp.webs.mynamespace.svc.inter.webs.tests.", "http.tcp..webs.mynamespace.svc"},
- // wildcard acceptance
- {"*.any.*.any.svc.inter.webs.tests.", "*.any..*.any.svc"},
// A request of endpoint
- {"1-2-3-4.webs.mynamespace.svc.inter.webs.tests.", "*.*.1-2-3-4.webs.mynamespace.svc"},
+ {"1-2-3-4.webs.mynamespace.svc.inter.webs.tests.", "..1-2-3-4.webs.mynamespace.svc"},
// bare zone
{"inter.webs.tests.", "....."},
// bare svc type