aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'aai-resources/src/main/kubernetes/ajsc6configdemo-svc.yaml')
-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