Fix E2T dynamic loglevel definitions
[ric-plt/ric-dep.git] / helm / e2term / values.yaml
index 8d6674f..dcd69fa 100644 (file)
@@ -26,23 +26,23 @@ e2term:
       name: ric-plt-e2
       tag: 3.0.1
       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
-    
+
     privilegedmode: false
     hostnetworkmode: false
-  
+
     replicaCount: 1
     env:
       print: "1"
       messagecollectorfile: "/data/outgoing/"
-    # Service ports are now defined in 
+    # Service ports are now defined in
     # ric-common/Common-Template/helm/ric-common/templates/_ports.tpl file.
     # If need to change a service port, make the code change necessary, then
     # update the _ports.tpl file with the new port number.
-  
+
     dataVolSize: 100Mi
     storageClassName: local-storage
     #storageClassName: ric-storage-class
-  
+
     pizpub:
       enabled: false
     #  publishURL: ""
@@ -59,13 +59,19 @@ e2term:
 
 health:
     liveness:
-      command: "/opt/e2/rmr_probe -h 0.0.0.0"
+      command: "ip=`hostname -i`;export RMR_SRC_ID=$ip;/opt/e2/rmr_probe -h $ip"
       initialDelaySeconds: 10
       periodSeconds: 10
       enabled: true
 
     readiness:
-      command: "/opt/e2/rmr_probe -h 0.0.0.0"
-      initialDelaySeconds: 15
-      periodSeconds: 10
+      command: "ip=`hostname -i`;export RMR_SRC_ID=$ip;/opt/e2/rmr_probe -h $ip"
+      initialDelaySeconds: 120
+      periodSeconds: 60
       enabled: true
+
+loglevel: 2
+
+common_env_variables:
+  ConfigMapName: "/etc/config/log-level"
+  ServiceName: "RIC_E2_TERM"