[RIC-213] Add olmnId and nearRtRicId to HelmChart + remove env var RIC_ID 86/2986/1
authoras761j <amichai.sichel@intl.att.com>
Wed, 25 Mar 2020 20:11:09 +0000 (22:11 +0200)
committeras761j <amichai.sichel@intl.att.com>
Wed, 25 Mar 2020 20:12:00 +0000 (22:12 +0200)
Signed-off-by: as761j <amichai.sichel@intl.att.com>
Change-Id: If440ce84538b6342af4478f5c1b1f9b1429cff9f

RECIPE_EXAMPLE/example_recipe.yaml
helm/e2mgr/templates/configmap.yaml
helm/e2mgr/values.yaml

index 88287ff..35c32f1 100644 (file)
@@ -101,8 +101,9 @@ e2mgr:
     name: ric-plt-e2mgr
     tag: 2.0.10
   privilegedmode: false
-  env:
-    RIC_ID: "bbbccc-abcd0e/20"
+  globalRicId:
+    plmnId: 131014
+    ricNearRtId: 556670
 
 
 e2term:
index 57ecf4f..fd7ae2d 100644 (file)
@@ -130,4 +130,16 @@ data:
     {{- else }}
     keepAliveDelayMs: 120000
     {{- end }}
+
+    globalRicId:
+      {{- if hasKey .Values.e2mgr "plmnId" }}
+      plmnId: {{ .Values.e2mgr.plmnId }}
+      {{- else }}
+      plmnId: 131014
+      {{- end }}
+      {{- if hasKey .Values.e2mgr "ricNearRtId" }}
+      ricNearRtId: {{ .Values.e2mgr.ricNearRtId }}
+      {{- else }}
+      ricNearRtId: 556670
+      {{- end }}
 ---
index 7de686c..c86b3bd 100644 (file)
@@ -31,8 +31,9 @@ e2mgr:
   
   replicaCount: 1
   
-  env:
-    RIC_ID: "bbbccc-abcd0e/20"
+  globalRicId:
+    plmnId: 131014
+    ricNearRtId: 556670
 
 
   # Service ports are now defined in