fix(cheatsheet): update context cmd description (#15935)

* fix(cheatsheet): update context cmd description

* chore: remove newline
pull/16913/head
Peter Mikitsh 2019-10-14 21:55:51 +00:00 committed by Kubernetes Prow Robot
parent 0c540ca8e7
commit 3964d24053
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ kubectl config view
# get the password for the e2e user
kubectl config view -o jsonpath='{.users[?(@.name == "e2e")].user.password}'
kubectl config view -o jsonpath='{.users[].name}' # display the first user
kubectl config view -o jsonpath='{.users[*].name}' # get a list of users
kubectl config get-contexts # display list of contexts
kubectl config current-context # display the current-context