X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Ftemplates%2Fdeployment.yaml;h=bcc8dc95dca1f1a10be64280f243c91321417ae3;hb=51aeaa3c3808c2288ab29d0b227fb04759f17aca;hp=82b675dd7e7bfc41349cb1587b2a4a17f63571ec;hpb=bd72340e71574c7095e94aa2719df66c3f711545;p=pti%2Fo2.git diff --git a/charts/templates/deployment.yaml b/charts/templates/deployment.yaml index 82b675d..bcc8dc9 100644 --- a/charts/templates/deployment.yaml +++ b/charts/templates/deployment.yaml @@ -82,6 +82,10 @@ spec: volumeMounts: - name: scripts mountPath: /opt + - name: applicationconfig + mountPath: /configs/o2app.conf + subPath: config.json + readOnly: true - name: watcher image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}" command: ["/bin/bash", "/opt/o2watcher_start.sh"] @@ -107,6 +111,10 @@ spec: volumeMounts: - name: scripts mountPath: /opt + - name: applicationconfig + mountPath: /configs/o2app.conf + subPath: config.json + readOnly: true - name: o2api image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}" ports: @@ -139,8 +147,24 @@ spec: volumeMounts: - name: scripts mountPath: /opt - - name: configs - mountPath: /configs + # - name: configs + # mountPath: /configs + - name: applicationconfig + mountPath: /configs/o2app.conf + subPath: config.json + readOnly: true + - name: servercrt + mountPath: /configs/server.crt + subPath: config.json + readOnly: true + - name: serverkey + mountPath: /configs/server.key + subPath: config.json + readOnly: true + - name: smocacrt + mountPath: /configs/smoca.crt + subPath: config.json + readOnly: true - name: helmcli image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}" ports: @@ -154,12 +178,22 @@ spec: volumeMounts: - name: scripts mountPath: /opt - - name: configs - mountPath: /configs volumes: - name: scripts configMap: name: {{ .Chart.Name }}-scripts-configmap - - name: configs - emptyDir: {} + # - name: configs + # emptyDir: {} + - configMap: + name: {{ .Chart.Name }}-application-config + name: applicationconfig + - configMap: + name: {{ .Chart.Name }}-serverkey + name: serverkey + - configMap: + name: {{ .Chart.Name }}-servercrt + name: servercrt + - configMap: + name: {{ .Chart.Name }}-smocacrt + name: smocacrt ---