summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-12 23:33:43 -0400
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-12 23:40:41 -0400
commit9e283938f92093f63ace91a4027acd90b6c3eacf (patch)
treebd145e70d739c31a3ef1d62cd1844a395d4a828f /kubernetes/sdnc/templates
parent1ed45d96b299ef56520c204abb62f7f6fe165004 (diff)
Add service endpoint annotation for SDN-C
Issue-Id: OOM-229 Change-Id: I932d9f5bd902f5aa30b1f18a0a83435474f4ee46 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/sdnc/templates')
-rw-r--r--kubernetes/sdnc/templates/all-services.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/all-services.yaml b/kubernetes/sdnc/templates/all-services.yaml
index 4a24947544..7223dfdcd7 100644
--- a/kubernetes/sdnc/templates/all-services.yaml
+++ b/kubernetes/sdnc/templates/all-services.yaml
@@ -64,6 +64,18 @@ metadata:
namespace: "{{ .Values.nsPrefix }}-sdnc"
labels:
app: sdnc
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "sdnc",
+ "version": "v1",
+ "url": "/",
+ "protocol": "REST",
+ "port": "8282",
+ "visualRange":"1",
+ "path": "/"
+ }
+ ]'
spec:
ports:
- name: "sdnc-port"
@@ -81,6 +93,17 @@ metadata:
namespace: "{{ .Values.nsPrefix }}-sdnc"
labels:
app: sdnc-portal
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "sdnc-portal",
+ "version": "v1",
+ "url": "/",
+ "protocol": "UI",
+ "port": "8843",
+ "visualRange":"0|1"
+ }
+ ]'
spec:
ports:
- name: "sdnc-portal-port"