Fix orders of yaml of custom-resource-definitions (#14254)
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
a1e774fd09
commit
c739e66c5a
+1
-1
@@ -142,6 +142,7 @@ from the yaml you used to create it:
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: List
|
||||||
items:
|
items:
|
||||||
- apiVersion: stable.example.com/v1
|
- apiVersion: stable.example.com/v1
|
||||||
kind: CronTab
|
kind: CronTab
|
||||||
@@ -156,7 +157,6 @@ items:
|
|||||||
spec:
|
spec:
|
||||||
cronSpec: '* * * * */5'
|
cronSpec: '* * * * */5'
|
||||||
image: my-awesome-cron-image
|
image: my-awesome-cron-image
|
||||||
kind: List
|
|
||||||
metadata:
|
metadata:
|
||||||
resourceVersion: ""
|
resourceVersion: ""
|
||||||
selfLink: ""
|
selfLink: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user