Skip to content

Commit

Permalink
fix: regression when proxying pods for kubectl describe node (#517)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Fedotov <m.a.fedotov@gmail.com>
  • Loading branch information
MaxFedotov committed Aug 28, 2024
1 parent ef69fd7 commit f460889
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/webserver/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f460889

Please sign in to comment.