X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Frtmgr%2Ftemplates%2Fdeployment.yaml;h=fd93004597b942ad317b92b4a90d4f38870a62ed;hb=0309475769b27702c8c886411222882da8b519b1;hp=66cef2f5e6eaec0a36406f54f56ab4069b6f1a07;hpb=f127b33c7ac113cf0544f3685d9ba4b631cc2e00;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/rtmgr/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/rtmgr/templates/deployment.yaml index 66cef2f5..fd930045 100644 --- a/ric-platform/50-RIC-Platform/helm/rtmgr/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/rtmgr/templates/deployment.yaml @@ -45,11 +45,25 @@ spec: image: {{ include "common.repository" . }}/{{ .Values.rtmgr.image.name }}:{{ .Values.rtmgr.image.tag }} imagePullPolicy: {{ include "common.pullPolicy" . }} command: ["/run_rtmgr.sh"] + #command: ["/bin/sh"] + #args: ["-c", "while true; do echo hello; sleep 10;done"] envFrom: - configMapRef: name: {{ include "common.configmapname.rtmgr" . }}-env + volumeMounts: + - mountPath: /cfg + name: rtmgrcfg + readOnly: true ports: - name: "rmrroute" containerPort: {{ .Values.rtmgr.service.rmr.route.port }} - name: "rmrdata" containerPort: {{ .Values.rtmgr.service.rmr.data.port }} + volumes: + - name: "rtmgrcfg" + configMap: + name: {{ include "common.configmapname.rtmgr" . }}-rtmgrcfg + items: + - key: rtmgrcfg + path: rtmgr-config.json + mode: 0644