Fix orders of yaml of reference/kube* (#14238)

The orders of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way.
This commit is contained in:
Kenichi Omichi
2019-05-08 22:40:47 -07:00
committed by Kubernetes Prow Robot
parent 8e0cab2d64
commit 84163560cc
2 changed files with 7 additions and 7 deletions
@@ -214,6 +214,7 @@ it off regardless. Doing so will disable the ability to use the `--discovery-tok
```shell
kubectl -n kube-public get cm cluster-info -o yaml | grep "kubeconfig:" -A11 | grep "apiVersion" -A10 | sed "s/ //" | tee cluster-info.yaml
apiVersion: v1
kind: Config
clusters:
- cluster:
certificate-authority-data: <ca-cert>
@@ -221,7 +222,6 @@ clusters:
name: ""
contexts: []
current-context: ""
kind: Config
preferences: {}
users: []
```