From: LiZi
Date: Fri, 20 Apr 2018 07:16:43 +0000 (-0400)
Subject: Add a path param in esr-gui annotations
X-Git-Tag: 2.0.0-ONAP~181^2
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7e889854e43dfae47e1d6086d6ad39e719df42b4;p=oom.git
Add a path param in esr-gui annotations
A special path should be add when register esr-gui to MSB.
Change-Id: I635c3508e57419354f2dad48b7e02bfa3b2bacde
Issue-ID: OOM-977
Signed-off-by: LiZi
---
diff --git a/kubernetes/esr/charts/esr-gui/templates/service.yaml b/kubernetes/esr/charts/esr-gui/templates/service.yaml
index 6a274b50d4..678db1a059 100644
--- a/kubernetes/esr/charts/esr-gui/templates/service.yaml
+++ b/kubernetes/esr/charts/esr-gui/templates/service.yaml
@@ -30,7 +30,8 @@ metadata:
"url": "/esr-gui",
"protocol": "UI",
"port": "{{ .Values.service.internalPort }}",
- "visualRange":"1"
+ "visualRange":"1",
+ "path":"/iui/aai-esr-gui"
}
]'
spec: