summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2017-08-30 14:52:39 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-30 14:52:39 +0000
commitb8d9bacebcf47ca4a96d49cf21418067b8550870 (patch)
treeef44cb9cc1ac5e1cb5f7758d3fa6af705d7486c9
parentf6eaf5257bbbf0b5d2125b097bcae55872b9ec3f (diff)
parentba913cb508f32180dcd2da70e318fb06a19dd8b0 (diff)
Merge "add service endpoint annotation"
-rw-r--r--kubernetes/policy/templates/all-services.yaml18
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