diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-30 17:22:19 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-30 17:22:46 +0800 |
commit | ba913cb508f32180dcd2da70e318fb06a19dd8b0 (patch) | |
tree | b0594bc9413d95f6ddaffc8c2a9f16d851ad1eb4 | |
parent | 35015433a8cda45672d0bbff455aef0f0fd070a0 (diff) |
add service endpoint annotation
Issue-Id: OOM-222
Change-Id: I9735c7bad45a8dad474a2ef66143e606868170d1
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
-rw-r--r-- | kubernetes/policy/templates/all-services.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
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 |