summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-12 11:00:59 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-12 11:01:03 +0800
commit946e986536d296be518c0fa7299a2e73a0cfa6a9 (patch)
tree155b1a26773bea7251552ffac333bb845ba48b51 /kubernetes
parent530efc9936331fc1de44b8b9d3304ca5d611d000 (diff)
Add service end point annotation for portal
Issue-Id: OOM-234 Change-Id: Ie18c2744c60b08ec8cfd80804c99da20530f7f65 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/portal/templates/all-services.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/portal/templates/all-services.yaml b/kubernetes/portal/templates/all-services.yaml
index b3fabb2932..b819b1c5e3 100644
--- a/kubernetes/portal/templates/all-services.yaml
+++ b/kubernetes/portal/templates/all-services.yaml
@@ -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