Merge "Adding helm chart & documentation for redis-cluster related study ticket"
authorPrabhu K <prabhu.k@nokia.com>
Fri, 13 Nov 2020 11:23:32 +0000 (11:23 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Fri, 13 Nov 2020 11:23:32 +0000 (11:23 +0000)
RECIPE_EXAMPLE/example_recipe.yaml
helm/alarmadapter/templates/deployment.yaml
helm/e2mgr/templates/deployment.yaml

index 24f2ff4..37fd77b 100644 (file)
@@ -96,7 +96,7 @@ e2mgr:
   image:
     registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
     name: ric-plt-e2mgr
-    tag: 5.2.15
+    tag: 5.4.13
   privilegedmode: false
   globalRicId:
     ricId: "AACCE"
index 47e8e66..9b82ff3 100644 (file)
@@ -53,6 +53,9 @@ spec:
           #args: ["-c", "while true; do echo hello; sleep 10;done"]
           command: ["/bin/sh"]
           args: ["-c", "/alarm-adapter -f /alarmadaptercfg/config-file.json"]
+          env:
+            - name: PLT_NAMESPACE
+              value: {{ include "common.namespace.platform" . }}
           envFrom:
             - configMapRef:
                 name: {{ include "common.configmapname.alarmadapter" . }}-env
index a4fafa5..f5c9a1f 100644 (file)
@@ -45,14 +45,6 @@ spec:
       hostname: {{ include "common.name.e2mgr" . }} 
       imagePullSecrets:
         - name: {{ include "common.dockerregistry.credential" $imagectx }}
-      initContainers:
-        - name: redis-init
-          image: "redis"
-          command:
-          - "/bin/sh"
-          args:
-          - '-c'
-          - "redis-cli -h {{ include "common.servicename.dbaas.tcp" . }} -p {{ include "common.serviceport.dbaas.redis" . }} SETNX \"{e2Manager},GENERAL\" \"{\\\"enableRic\\\":true}\""
       containers:
         - name: {{ include "common.containername.e2mgr" . }}
           image: {{ include "common.dockerregistry.url" $imagectx }}/{{ .Values.e2mgr.image.name }}:{{ .Values.e2mgr.image.tag }}