summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrui hu <hu.rui2@zte.com.cn>2017-09-01 06:35:48 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-01 06:35:48 +0000
commitb473f849cd6d94165f95d7fa181fff0aaae1289e (patch)
tree2a20994e61b473df112bb1a010ff935f0a479cf9
parent9c7d2ded9365985e78dbba539e2b24564d3eb442 (diff)
parent5b8b12a93a137d650fb661db0abdee2adf7db218 (diff)
Merge "service endpoint annotation for so"
-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