Add one-click deployment scripts and override file examples.
[it/dep.git] / ric-aux / 80-Auxiliary-Functions / helm / dashboard / templates / configmap.yaml
diff --git a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/configmap.yaml b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/configmap.yaml
new file mode 100644 (file)
index 0000000..e10805e
--- /dev/null
@@ -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"
+      }
+    }