diff options
author | Venkata Harish Kajur <vk250x@att.com> | 2018-03-22 14:06:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-22 14:06:37 +0000 |
commit | f5986466bb71bf03f1f8b1fb8e593b15bcf92340 (patch) | |
tree | ac0a922ab1dc1257c60a20fbd3b6d17943f6d435 | |
parent | 4d0542d05fcc61414ec2ba086e5d20917330205b (diff) | |
parent | 53a0899643b89fb3f5ab295d86c71b7ea5e1825b (diff) |
Merge "Convert k8s manifest to yaml"
-rw-r--r-- | aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml | 34 |
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 |