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 <[email protected]>
  • Loading branch information
MaxFedotov authored 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.