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:
committed by
Kubernetes Prow Robot
parent
8e0cab2d64
commit
84163560cc
@@ -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: []
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user