Helm chart for RIC dashboard webapp
Includes SPRING_APPLICATION_JSON in configmap
Change-Id: I17f145e3365f1609f1baca74099d1122c47c8262
Signed-off-by: Huang, Zhe (eefelixwong) <zhehuang@research.att.com>
diff --git a/aux/ric-dashboard/templates/configmap.yaml b/aux/ric-dashboard/templates/configmap.yaml
new file mode 100644
index 0000000..e10805e
--- /dev/null
+++ b/aux/ric-dashboard/templates/configmap.yaml
@@ -0,0 +1,36 @@
+################################################################################
+# Copyright (c) 2019 AT&T Intellectual Property. #
+# Copyright (c) 2019 Nokia. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file except in compliance with the License. #
+# You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, software #
+# distributed under the License is distributed on an "AS IS" BASIS, #
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
+# See the License for the specific language governing permissions and #
+# limitations under the License. #
+################################################################################
+
+# Provides configuration parameters which spring expects as a JSON string
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: dashboard-configmap
+data:
+ springApplication.json: |
+ {
+ "a1med": {
+ "basepath": "http://0.1.2.3:45"
+ },
+ "e2mgr": {
+ "basepath": "http://1.2.3.4:56"
+ },
+ "xappmgr": {
+ "basepath": "http://2.3.4.5:67"
+ }
+ }