fixed indentation for kubectl config view (#14060)
fixed indentation for kubectl config view
This commit is contained in:
parent
fe663ea841
commit
d1ceddba29
|
@ -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}'
|
||||||
|
|
Loading…
Reference in New Issue