• Kubernetes Submit Queue's avatar
    Merge pull request #43663 from shiywang/quato · 199465c3
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 38990, 45781, 46225, 44899, 43663)
    
    Fix command exec -- COMMAND can not contain spaces
    
    Fixes https://github.com/kubernetes/kubernetes/issues/7688
    the problem is when you execute command:
     `cluster/kubectl.sh exec -p client-blue-8yw37 -c client -i -t -- 'ls -t /usr'`
    the args is 
    [`client-blue-8yw37` , `ls -t /usr`] 
    **instead of** 
    [`client-blue-8yw37`, `ls`, `-t`, `/usr`]
    @kubernetes/sig-cli-pr-reviews, so I add a warning, wdyt ?
    cc @ymqytw @adohe @fabianofranz
    199465c3
exec.go 9.85 KB