mirror of
https://github.com/openshift/openshift-mcp-server.git
synced 2025-10-17 14:27:48 +03:00
This PR introduces the ability to filter Kubernetes resources by label using a labelSelector parameter for the following tools: * pods_list * pods_list_in_namespace * resources_list This enhancement allows users to retrieve a more specific set of resources based on their labels, improving the flexibility and utility of these tools. The labelSelector parameter accepts standard Kubernetes label selector syntax, such as app=myapp,env=prod or app in (myapp,yourapp). Signed-off-by: Eran Cohen <eranco@redhat.com>