Helm scripts for alarm adapter
Change-Id: Ic841d1cdb8c5dc1b3b5b788559b9ef311e0c00ec
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
diff --git a/helm/alarmadapter/templates/config.yaml b/helm/alarmadapter/templates/config.yaml
new file mode 100644
index 0000000..42f6ceb
--- /dev/null
+++ b/helm/alarmadapter/templates/config.yaml
@@ -0,0 +1,52 @@
+#==================================================================================
+# Copyright (c) 2019 AT&T Intellectual Property.
+#
+# 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.
+#==================================================================================
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: alarmadaptercfg
+ namespace: ricplt
+data:
+ # FQDN and port info of rtmgr
+ alarmadaptercfg: |
+ "local":
+ "host": ":8080"
+ "logger":
+ "level": 4
+ "db" :
+ "namespaces":
+ -
+ "sdl"
+ -
+ "rnib"
+ "rmr":
+ "protPort": "tcp:4560"
+ "maxSize": 1024
+ "numWorkers": 1
+ "promAlertManager":
+ "address": "elfkp-prometheus-alertmanager:9093"
+ "baseUrl": "/api/v2"
+ "schemes": http
+ "alertInterval": 30000
+ "alarmDefinitions:
+ -
+ "specificProblem": 1234
+ "Text": "Connection to DBAAS server lost"
+ -
+ "specificProblem": 1235
+ "Text": "Distribution of internal routing table failed due to timeout"
+ -
+ "specificProblem": 1236
+ "Text": "E2 connection to gNB lost"