summaryrefslogtreecommitdiffstats
path: root/kubernetes/message-router
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-13 22:49:23 -0400
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-13 23:08:28 -0400
commitd5f7e84ba245cc4b3a6dffe886f2252e0483041f (patch)
tree3b94a7021d25a2aee8e1c0f20cc242067c94be48 /kubernetes/message-router
parent9e283938f92093f63ace91a4027acd90b6c3eacf (diff)
Add service endpoint annotation for message router
Issue-Id: OOM-302 Change-Id: I16eb5dbd707609d27a100b9112965cf8d7a17879 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/message-router')
-rw-r--r--kubernetes/message-router/templates/all-services.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/message-router/templates/all-services.yaml b/kubernetes/message-router/templates/all-services.yaml
index 85c4f010cf..418a3eda89 100644
--- a/kubernetes/message-router/templates/all-services.yaml
+++ b/kubernetes/message-router/templates/all-services.yaml
@@ -36,6 +36,17 @@ metadata:
labels:
app: dmaap
version: 1.0.0
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "message-router",
+ "version": "v1",
+ "url": "/",
+ "protocol": "REST",
+ "port": "3904",
+ "visualRange":"1"
+ }
+ ]'
spec:
ports:
- name: mr1