Convert k8s manifest to yaml 45/36345/1
authorTin Lam <tin@irrational.io>
Sat, 17 Mar 2018 09:00:26 +0000 (04:00 -0500)
committerTin Lam <tin@irrational.io>
Sat, 17 Mar 2018 17:31:35 +0000 (12:31 -0500)
This patch set changes a kubernetes yaml manifest with .yaml
extension from json format to proper yaml format.

Issue-ID: AAI-890

Change-Id: I057294751747ce3022232cf87bba12c3a1b98db8
Signed-off-by: Tin Lam <tin@irrational.io>
aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml

index f20e5b9..eb81d38 100644 (file)
@@ -1,21 +1,13 @@
-{
-    "kind": "Service",
-    "apiVersion": "v1",
-    "metadata": {
-        "name": "ajsc6configdemo",
-         "namespace": "org-onap-aai"
-    },
-    "spec": {
-        "selector": {
-            "app": "ajsc6configdemo"
-        },
-        "ports": [
-            {
-                "protocol": "TCP",
-                "port": 80,
-                "targetPort": 8080
-            }
-        ],
-        "type": "NodePort"
-    }
-}
+apiVersion: v1
+kind: Service
+metadata:
+  name: ajsc6configdemo
+  namespace: org-onap-aai
+spec:
+  selector:
+    app: ajsc6configdemo
+  ports:
+    port: 80
+    protocol: TCP
+    targetPort: 8080
+  type: NodePort