aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/mso/templates
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-01 13:03:33 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-01 13:03:38 +0800
commit5b8b12a93a137d650fb661db0abdee2adf7db218 (patch)
tree400e6d64a2909c753a2cf083a52fa797984500e4 /kubernetes/mso/templates
parentf48d0837258002517d75260cf809428b26bd8630 (diff)
service endpoint annotation for so
Issue-Id: OOM-226 Change-Id: Iac7bcf795ca9e7a3a51f56ef5b29d55ab4e16251 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/mso/templates')
-rw-r--r--kubernetes/mso/templates/all-services.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/kubernetes/mso/templates/all-services.yaml b/kubernetes/mso/templates/all-services.yaml
index a0807d759e..a674adb35e 100644
--- a/kubernetes/mso/templates/all-services.yaml
+++ b/kubernetes/mso/templates/all-services.yaml
@@ -20,6 +20,26 @@ metadata:
namespace: "{{ .Values.nsPrefix }}-mso"
labels:
app: mso
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "so",
+ "version": "v1",
+ "url": "/ecomp/mso/infra",
+ "protocol": "REST"
+ "port": "8080",
+ "visualRange":"1"
+ },
+ {
+ "serviceName": "so-deprecated",
+ "version": "v1",
+ "url": "/ecomp/mso/infra",
+ "protocol": "REST"
+ "port": "8080",
+ "visualRange":"1",
+ "path":"/ecomp/mso/infra"
+ }
+ ]'
spec:
selector:
app: mso