fixed indentation for kubectl config view (#14060)

fixed indentation for kubectl config view
This commit is contained in:
codyc 2019-04-26 16:06:22 -05:00 committed by Kubernetes Prow Robot
parent fe663ea841
commit d1ceddba29
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,9 @@ detailed config file information.
kubectl config view # Show Merged kubeconfig settings. kubectl config view # Show Merged kubeconfig settings.
# use multiple kubeconfig files at the same time and view merged config # use multiple kubeconfig files at the same time and view merged config
KUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view KUBECONFIG=~/.kube/config:~/.kube/kubconfig2
kubectl config view
# get the password for the e2e user # get the password for the e2e user
kubectl config view -o jsonpath='{.users[?(@.name == "e2e")].user.password}' kubectl config view -o jsonpath='{.users[?(@.name == "e2e")].user.password}'