• Kubernetes Submit Queue's avatar
    Merge pull request #54245 from deads2k/cli-03-postraw · 6949b518
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. 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 kubectl create --raw -f
    
    Adds `--raw` to `kubectl create` to match `kubectl get --raw`.  It re-uses the transport, reads the input stream (stdin or a single file for now) and posts directly to the endpoint specified.  This let's you direct data directly at a subresource (as a for instance).  I'd like to see this extended to `kubectl replace` too, so that we have full access to subresources via scripting without having to reproduce the transports.
    
    @kubernetes/sig-cli-pr-reviews 
    
    ```release-note
    add `--raw` to `kubectl create` to POST using the normal transport
    ```
    6949b518
Name
Last commit
Last update
..
helpers Loading commit data...
BUILD Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
cross.sh Loading commit data...
make-help.sh Loading commit data...
test-cmd-util.sh Loading commit data...
test-cmd.sh Loading commit data...
test-e2e-node.sh Loading commit data...
test-federation-cmd.sh Loading commit data...
test-integration.sh Loading commit data...
test-kubeadm-cmd.sh Loading commit data...
test.sh Loading commit data...
verify.sh Loading commit data...
vet.sh Loading commit data...