From d6bcc7b8d990c4114a7c9b09a4c0ecd5b16e0947 Mon Sep 17 00:00:00 2001 From: Kohei Toyoda Date: Sat, 10 Aug 2019 06:33:15 +0900 Subject: [PATCH] Fix orders of yaml for examples. (#15763) --- content/en/examples/admin/resource/pvc-limit-greater.yaml | 2 +- content/en/examples/admin/resource/pvc-limit-lower.yaml | 2 +- content/en/examples/application/mysql/mysql-pv.yaml | 2 +- content/en/examples/debug/fluentd-gcp-configmap.yaml | 2 +- content/en/examples/federation/policy-engine-service.yaml | 4 ++-- content/en/examples/pods/pod-projected-svc-token.yaml | 2 +- content/en/examples/pods/storage/pv-claim.yaml | 2 +- content/en/examples/pods/storage/pv-pod.yaml | 2 +- content/en/examples/pods/storage/pv-volume.yaml | 2 +- content/en/examples/service/access/hello-service.yaml | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/content/en/examples/admin/resource/pvc-limit-greater.yaml b/content/en/examples/admin/resource/pvc-limit-greater.yaml index 4728bb6834..2d92bf92b3 100644 --- a/content/en/examples/admin/resource/pvc-limit-greater.yaml +++ b/content/en/examples/admin/resource/pvc-limit-greater.yaml @@ -1,5 +1,5 @@ -kind: PersistentVolumeClaim apiVersion: v1 +kind: PersistentVolumeClaim metadata: name: pvc-limit-greater spec: diff --git a/content/en/examples/admin/resource/pvc-limit-lower.yaml b/content/en/examples/admin/resource/pvc-limit-lower.yaml index edb1a9c66b..ef819b6292 100644 --- a/content/en/examples/admin/resource/pvc-limit-lower.yaml +++ b/content/en/examples/admin/resource/pvc-limit-lower.yaml @@ -1,5 +1,5 @@ -kind: PersistentVolumeClaim apiVersion: v1 +kind: PersistentVolumeClaim metadata: name: pvc-limit-lower spec: diff --git a/content/en/examples/application/mysql/mysql-pv.yaml b/content/en/examples/application/mysql/mysql-pv.yaml index 6f4e692f3b..c89779a83f 100644 --- a/content/en/examples/application/mysql/mysql-pv.yaml +++ b/content/en/examples/application/mysql/mysql-pv.yaml @@ -1,5 +1,5 @@ -kind: PersistentVolume apiVersion: v1 +kind: PersistentVolume metadata: name: mysql-pv-volume labels: diff --git a/content/en/examples/debug/fluentd-gcp-configmap.yaml b/content/en/examples/debug/fluentd-gcp-configmap.yaml index 71e0ac5d82..4abdbc8b91 100644 --- a/content/en/examples/debug/fluentd-gcp-configmap.yaml +++ b/content/en/examples/debug/fluentd-gcp-configmap.yaml @@ -1,5 +1,5 @@ -kind: ConfigMap apiVersion: v1 +kind: ConfigMap data: containers.input.conf: |- # This configuration file for Fluentd is used diff --git a/content/en/examples/federation/policy-engine-service.yaml b/content/en/examples/federation/policy-engine-service.yaml index 287a972d64..982870b06b 100644 --- a/content/en/examples/federation/policy-engine-service.yaml +++ b/content/en/examples/federation/policy-engine-service.yaml @@ -1,5 +1,5 @@ -kind: Service apiVersion: v1 +kind: Service metadata: name: opa namespace: federation-system @@ -10,4 +10,4 @@ spec: - name: http protocol: TCP port: 8181 - targetPort: 8181 \ No newline at end of file + targetPort: 8181 diff --git a/content/en/examples/pods/pod-projected-svc-token.yaml b/content/en/examples/pods/pod-projected-svc-token.yaml index df8ebc1925..985073c8d3 100644 --- a/content/en/examples/pods/pod-projected-svc-token.yaml +++ b/content/en/examples/pods/pod-projected-svc-token.yaml @@ -1,5 +1,5 @@ -kind: Pod apiVersion: v1 +kind: Pod metadata: name: nginx spec: diff --git a/content/en/examples/pods/storage/pv-claim.yaml b/content/en/examples/pods/storage/pv-claim.yaml index 197db917c8..b33f6faa4c 100644 --- a/content/en/examples/pods/storage/pv-claim.yaml +++ b/content/en/examples/pods/storage/pv-claim.yaml @@ -1,5 +1,5 @@ -kind: PersistentVolumeClaim apiVersion: v1 +kind: PersistentVolumeClaim metadata: name: task-pv-claim spec: diff --git a/content/en/examples/pods/storage/pv-pod.yaml b/content/en/examples/pods/storage/pv-pod.yaml index 7bae89e339..a2eddcf088 100644 --- a/content/en/examples/pods/storage/pv-pod.yaml +++ b/content/en/examples/pods/storage/pv-pod.yaml @@ -1,5 +1,5 @@ -kind: Pod apiVersion: v1 +kind: Pod metadata: name: task-pv-pod spec: diff --git a/content/en/examples/pods/storage/pv-volume.yaml b/content/en/examples/pods/storage/pv-volume.yaml index 33ca6843f4..36fe3c5424 100644 --- a/content/en/examples/pods/storage/pv-volume.yaml +++ b/content/en/examples/pods/storage/pv-volume.yaml @@ -1,5 +1,5 @@ -kind: PersistentVolume apiVersion: v1 +kind: PersistentVolume metadata: name: task-pv-volume labels: diff --git a/content/en/examples/service/access/hello-service.yaml b/content/en/examples/service/access/hello-service.yaml index 1e4c7a6c32..71344ecb8b 100644 --- a/content/en/examples/service/access/hello-service.yaml +++ b/content/en/examples/service/access/hello-service.yaml @@ -1,5 +1,5 @@ -kind: Service apiVersion: v1 +kind: Service metadata: name: hello spec: