From ba913cb508f32180dcd2da70e318fb06a19dd8b0 Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Wed, 30 Aug 2017 17:22:19 +0800 Subject: add service endpoint annotation Issue-Id: OOM-222 Change-Id: I9735c7bad45a8dad474a2ef66143e606868170d1 Signed-off-by: HuabingZhao --- kubernetes/policy/templates/all-services.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'kubernetes/policy/templates') diff --git a/kubernetes/policy/templates/all-services.yaml b/kubernetes/policy/templates/all-services.yaml index 82360334ac..0dc17853ed 100644 --- a/kubernetes/policy/templates/all-services.yaml +++ b/kubernetes/policy/templates/all-services.yaml @@ -70,6 +70,24 @@ metadata: namespace: "{{ .Values.nsPrefix }}-policy" labels: app: pdp + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "policy-pdp", + "version": "v1", + "url": "/pdp", + "protocol": "REST" + "visualRange":"1" + }, + { + "serviceName": "policy-pdp-deprecated", + "version": "v1", + "url": "/pdp", + "protocol": "REST" + "visualRange":"1", + "path":"/pdp" + } + ]' spec: ports: - name: 8081-port -- cgit 1.2.3-korg