One-line enhancement description (can be used as a release note):
Data Driven Commands for Kubectl
Kubernetes Enhancement Proposal:
Many Kubectl commands make requests to specific Resource endpoints. The request bodies are populated by flags
provided by the user.
set <field> <resource>
Although these commands are compiled into the kubectl binary, their workflow is similar to a form on a webpage and
could be complete driven by the server providing the client with the request (endpoint + body) and a set of flags
to populate the request body.
Publishing commands as data from the server addresses cli integration with API extensions as well as client-server
Note: No server-side changes are required for this, all Request and Response template expansion is performed on
the client side.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.