This is an automated email from the ASF dual-hosted git repository.
monkeydluffy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 72f6364a1 fix: wrong namespace related endpoint in k8s (#10917)
72f6364a1 is described below
commit 72f6364a1214da547b7b121aec90247458114563
Author: dongjiang <[email protected]>
AuthorDate: Thu Feb 22 16:14:30 2024 +0800
fix: wrong namespace related endpoint in k8s (#10917)
---
apisix/discovery/kubernetes/informer_factory.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apisix/discovery/kubernetes/informer_factory.lua
b/apisix/discovery/kubernetes/informer_factory.lua
index 3dca06403..fd434c047 100644
--- a/apisix/discovery/kubernetes/informer_factory.lua
+++ b/apisix/discovery/kubernetes/informer_factory.lua
@@ -355,7 +355,7 @@ function _M.new(group, version, kind, plural, namespace)
end
if namespace and namespace ~= "" then
- path = path .. "/namespace/" .. namespace
+ path = path .. "/namespaces/" .. namespace
end
path = path .. "/" .. plural