Add service end point annotation for portal 09/11809/1
authorHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 12 Sep 2017 03:00:59 +0000 (11:00 +0800)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 12 Sep 2017 03:01:03 +0000 (11:01 +0800)
Issue-Id: OOM-234
Change-Id: Ie18c2744c60b08ec8cfd80804c99da20530f7f65
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
kubernetes/portal/templates/all-services.yaml

index b3fabb2..b819b1c 100644 (file)
@@ -20,6 +20,17 @@ metadata:
     app: portalapps
   name: portalapps
   namespace: "{{ .Values.nsPrefix }}-portal"
+  annotations:
+    msb.onap.org/service-info: '[
+      {
+          "serviceName": "portal",
+          "version": "v2",
+          "url": "/",
+          "protocol": "REST"
+          "port": "8989",
+          "visualRange":"1"
+      }
+      ]'
 spec:
   ports:
   - name: portal-1