Add service endpoint annotation for SDN-C
[oom.git] / kubernetes / sdnc / templates / all-services.yaml
index 4a24947..7223dfd 100644 (file)
@@ -64,6 +64,18 @@ metadata:
   namespace: "{{ .Values.nsPrefix }}-sdnc"
   labels:
     app: sdnc
+  annotations:
+    msb.onap.org/service-info: '[
+      {
+          "serviceName": "sdnc",
+          "version": "v1",
+          "url": "/",
+          "protocol": "REST",
+          "port": "8282",
+          "visualRange":"1",
+          "path": "/"
+      }
+      ]'
 spec:
   ports:
   - name: "sdnc-port"
@@ -81,6 +93,17 @@ metadata:
   namespace: "{{ .Values.nsPrefix }}-sdnc"
   labels:
     app: sdnc-portal
+  annotations:
+    msb.onap.org/service-info: '[
+      {
+          "serviceName": "sdnc-portal",
+          "version": "v1",
+          "url": "/",
+          "protocol": "UI",
+          "port": "8843",
+          "visualRange":"0|1"
+      }
+      ]'
 spec:
   ports:
   - name: "sdnc-portal-port"