summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrandon Philips <brandon.philips@coreos.com>2016-10-24 11:38:06 -0700
committerBrandon Philips <brandon.philips@coreos.com>2016-11-10 14:07:42 -0800
commit4462ce959956209a6446cd586459b66615488d90 (patch)
tree9962ad7450846cf24af69359b2acd783d9020f48 /scripts
parent76480357f53da80b60595ea3365c692e90953e0e (diff)
kubectl: add less verbose version
The kubectl version output is very complex and makes it hard for users and vendors to give actionable information. For example during the recent Kubernetes 1.4.3 TLS security scramble I had to write a one-liner for users to get out the version number to give to figure out if they are vulnerable: $ kubectl version | grep -i Server | sed -n 's%.*GitVersion:"\([^"]*\).*%\1%p' Instead this patch outputs simply output with `--short` ./kubectl version --short Client Version: v1.4.3 Server Version: v1.4.3
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions