-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 60890, 63244, 60741, 63254). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add name output and verb filtering to api-resources This allows `kubectl api-resources -o name` to be used as input to `kubectl get ...` to see all resources still existing in a given namespace: Example: ```sh kubectl api-resources --verbs=list --namespaced -o name | xargs -n 1 kubectl get -o name -n foo ``` Release note: ```release-note `kubectl api-resources` now supports filtering to resources supporting specific verbs, and can output fully qualified resource names suitable for combining with commands like `kubectl get` ```