mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-28 16:06:49 +00:00
In other parts of the system (notably in RBAC rules), the "resource/subresource" notation is common to specify an explicit subresource. This makes this notation available to tests that use the `Matches` function on client actions as well. Backwards compatibility is kept by ignoring the `Subresource` field if no specific subresource is defined in the resource string itself. Kubernetes-commit: 47277f281eb0e7d484555e4d210b0ddb42974793