summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main
diff options
context:
space:
mode:
authorTin Lam <tin@irrational.io>2018-03-17 04:00:26 -0500
committerTin Lam <tin@irrational.io>2018-03-17 12:31:35 -0500
commit53a0899643b89fb3f5ab295d86c71b7ea5e1825b (patch)
tree2a2583f10f85cff1af354f09c51d2810b2e4705d /aai-resources/src/main
parente19b2d7d2d6ed2f91c537a1af4634c3c37f0fe82 (diff)
Convert k8s manifest to yaml
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>
Diffstat (limited to 'aai-resources/src/main')
-rw-r--r--aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml34
1 files changed, 13 insertions, 21 deletions
diff --git a/aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml b/aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml
index f20e5b9..eb81d38 100644
--- a/aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml
+++ b/aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml
@@ -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