feat: added nodes to generic resources

This commit is contained in:
Marc Nuri
2025-04-08 06:21:29 +02:00
parent 2d7f6088b9
commit b3f38444ec

View File

@@ -10,7 +10,7 @@ import (
)
func (s *Server) initResources() []server.ServerTool {
commonApiVersion := "v1 Pod, v1 Service, apps/v1 Deployment, networking.k8s.io/v1 Ingress"
commonApiVersion := "v1 Pod, v1 Service, v1 Node, apps/v1 Deployment, networking.k8s.io/v1 Ingress"
if s.k.IsOpenShift(context.Background()) {
commonApiVersion += ", route.openshift.io/v1 Route"
}