Fix orders of yaml for tasks/administer-cluster/[l-z]*.go (#14245)

This commit is contained in:
s-ito-ts
2019-05-09 20:40:48 +09:00
committed by Kubernetes Prow Robot
parent 769a5e71d4
commit 7b7caf3b77
6 changed files with 8 additions and 8 deletions
@@ -149,9 +149,6 @@ This is an example of a valid response:
```none ```none
apiVersion: v1 apiVersion: v1
data:
kubelet: |
{...}
kind: ConfigMap kind: ConfigMap
metadata: metadata:
creationTimestamp: 2017-09-14T20:23:33Z creationTimestamp: 2017-09-14T20:23:33Z
@@ -160,6 +157,9 @@ metadata:
resourceVersion: "119980" resourceVersion: "119980"
selfLink: /api/v1/namespaces/kube-system/configmaps/my-node-config-gkt4c2m4b2 selfLink: /api/v1/namespaces/kube-system/configmaps/my-node-config-gkt4c2m4b2
uid: 946d785e-998a-11e7-a8dd-42010a800006 uid: 946d785e-998a-11e7-a8dd-42010a800006
data:
kubelet: |
{...}
``` ```
The ConfigMap is created in the `kube-system` namespace because this The ConfigMap is created in the `kube-system` namespace because this
@@ -10,8 +10,8 @@ metadata:
name: cloud-controller-manager name: cloud-controller-manager
namespace: kube-system namespace: kube-system
--- ---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata: metadata:
name: system:cloud-controller-manager name: system:cloud-controller-manager
roleRef: roleRef:
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"kind": "Namespace",
"apiVersion": "v1", "apiVersion": "v1",
"kind": "Namespace",
"metadata": { "metadata": {
"name": "development", "name": "development",
"labels": { "labels": {
@@ -1,6 +1,6 @@
{ {
"kind": "Namespace",
"apiVersion": "v1", "apiVersion": "v1",
"kind": "Namespace",
"metadata": { "metadata": {
"name": "production", "name": "production",
"labels": { "labels": {
@@ -1,5 +1,5 @@
kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim
metadata: metadata:
name: pvc-quota-demo-2 name: pvc-quota-demo-2
spec: spec:
@@ -1,5 +1,5 @@
kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim
metadata: metadata:
name: pvc-quota-demo name: pvc-quota-demo
spec: spec: