Merge "Update a1 helm chart from r2 to amber/r3"
authorLusheng Ji <lji@research.att.com>
Fri, 20 Dec 2019 04:03:54 +0000 (04:03 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Fri, 20 Dec 2019 04:03:54 +0000 (04:03 +0000)
ric-platform/50-RIC-Platform/helm/rsm/templates/deployment.yaml

index 4900539..28c836f 100755 (executable)
@@ -40,6 +40,12 @@ spec:
         app: {{ include "common.namespace.platform" . }}-{{ include "common.name.rsm" . }}
         release: {{ .Release.Name }}
     spec:
+      initContainers:
+      - name: redis-init
+        image: "redis"
+        imagePullPolicy: IfNotPresent
+        command: ['sh', '-c', 'redis-cli -h service-ricplt-dbaas-tcp -p 6379 set "{rsm},CFG:GENERAL:v1.0.0"  "{\"enableResourceStatus\":true,\"partialSuccessAllowed\":true,\"prbPeriodic\":true,\"tnlLoadIndPeriodic\":true,\"wwLoadIndPeriodic\":true,\"absStatusPeriodic\":true,\"rsrpMeasurementPeriodic\":true,\"csiPeriodic\":true,\"periodicityMs\":1,\"periodicityRsrpMeasurementMs\":3,\"periodicityCsiMs\":4}" nx']
+
       hostname: {{ include "common.name.rsm" . }} 
       imagePullSecrets:
         - name: {{ include "common.repositoryCred" . }}