From f4608891984bb692dace74f67789cc1435e9b1af Mon Sep 17 00:00:00 2001 From: Max Fedotov Date: Wed, 28 Aug 2024 18:51:49 +0200 Subject: [PATCH] fix: regression when proxying pods for kubectl describe node (#517) Signed-off-by: Max Fedotov --- internal/webserver/webserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/webserver/webserver.go b/internal/webserver/webserver.go index 20126d4d..51a00754 100644 --- a/internal/webserver/webserver.go +++ b/internal/webserver/webserver.go @@ -45,6 +45,7 @@ import ( "github.com/projectcapsule/capsule-proxy/internal/modules/namespaced" "github.com/projectcapsule/capsule-proxy/internal/modules/node" "github.com/projectcapsule/capsule-proxy/internal/modules/persistentvolume" + "github.com/projectcapsule/capsule-proxy/internal/modules/pod" "github.com/projectcapsule/capsule-proxy/internal/modules/priorityclass" "github.com/projectcapsule/capsule-proxy/internal/modules/runtimeclass" "github.com/projectcapsule/capsule-proxy/internal/modules/storageclass" @@ -239,6 +240,7 @@ func (n *kubeFilter) registerModules(ctx context.Context, root *mux.Router) { metric.List(n.reader), tenants.List(), tenants.Get(n.reader), + pod.Get(n.reader), } // Discovery client