Adding clusterRole for App manager.
[ric-plt/ric-dep.git] / helm / e2mgr / templates / configmap.yaml
index 13175f0..0973eba 100644 (file)
@@ -85,7 +85,7 @@ data:
     routingManager:
       {{- if hasKey .Values.e2mgr "baseUrl" }}
       baseUrl: {{ .Values.e2mgr.baseUrl }}
-      {{- else }}
+      {{- else}}
       baseUrl: "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/"
       {{- end }}
 
@@ -132,14 +132,43 @@ data:
     {{- end }}
 
     globalRicId:
-      {{- if hasKey .Values.e2mgr "plmnId" }}
-      plmnId: {{ .Values.e2mgr.plmnId }}
+      {{- if hasKey .Values.e2mgr "ricId" }}
+      ricId: {{ .Values.e2mgr.ricId }}
+      {{- else }}
+      ricId: "AACCE"
+      {{- end }}
+      {{- if hasKey .Values.e2mgr "mcc" }}
+      mcc: {{ .Values.e2mgr.mcc }}
+      {{- else }}
+      mcc: "310"
+      {{- end }}
+      {{- if hasKey .Values.e2mgr "mnc" }}
+      mnc: {{ .Values.e2mgr.mnc }}
+      {{- else }}
+      mnc: "411"
+      {{- end }}
+      
+    rnibWriter:
+      {{- if hasKey .Values.e2mgr "stateChangeMessageChannel" }}
+      stateChangeMessageChannel: {{ .Values.e2mgr.stateChangeMessageChannel }}
       {{- else }}
-      plmnId: 131014
+      stateChangeMessageChannel: "RAN_CONNECTION_STATUS_CHANGE"
       {{- end }}
-      {{- if hasKey .Values.e2mgr "ricNearRtId" }}
-      ricNearRtId: {{ .Values.e2mgr.ricNearRtId }}
+      {{- if hasKey .Values.e2mgr "ranManipulationMessageChannel" }}
+      ranManipulationMessageChannel: {{ .Values.e2mgr.ranManipulationMessageChannel }}
       {{- else }}
-      ricNearRtId: 556670
+      ranManipulationMessageChannel: "RAN_MANIPULATION"
       {{- end }}
+      
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: {{ include "common.configmapname.e2mgr" . }}-loglevel-configmap
+  namespace: {{ include "common.namespace.platform" . }}
+
+data:
+  logcfg: "loglevel: 3"
+   
 ---