From 9e283938f92093f63ace91a4027acd90b6c3eacf Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Tue, 12 Sep 2017 23:33:43 -0400 Subject: Add service endpoint annotation for SDN-C Issue-Id: OOM-229 Change-Id: I932d9f5bd902f5aa30b1f18a0a83435474f4ee46 Signed-off-by: HuabingZhao --- kubernetes/sdnc/templates/all-services.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'kubernetes/sdnc') 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" -- cgit 1.2.3-korg