X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Ftemplates%2Fdeployment.yaml;h=4a108900e2b0b71435add3b8db49a019a459c351;hb=5893fa9d751d3e00324b22dfbdea024722ab9272;hp=5f64ccbfbd04505fcbc612d746bf334c2074e1f9;hpb=1c020c705baa0a2a55591750c0fd46fff52a6929;p=pti%2Fo2.git diff --git a/charts/templates/deployment.yaml b/charts/templates/deployment.yaml index 5f64ccb..4a10890 100644 --- a/charts/templates/deployment.yaml +++ b/charts/templates/deployment.yaml @@ -82,6 +82,13 @@ spec: volumeMounts: - name: scripts mountPath: /opt + - name: applicationconfig + mountPath: /configs/o2app.conf + subPath: config.json + readOnly: true + - name: smocacrt + mountPath: /configs/smoca.crt + subPath: config.json - name: watcher image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}" command: ["/bin/bash", "/opt/o2watcher_start.sh"] @@ -107,6 +114,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: @@ -145,11 +156,11 @@ spec: mountPath: /configs/o2app.conf subPath: config.json readOnly: true - - name: caconfig - mountPath: /configs/ca.cert + - name: servercrt + mountPath: /configs/server.crt subPath: config.json readOnly: true - - name: serverkeyconfig + - name: serverkey mountPath: /configs/server.key subPath: config.json readOnly: true @@ -176,10 +187,12 @@ spec: name: {{ .Chart.Name }}-application-config name: applicationconfig - configMap: - name: {{ .Chart.Name }}-serverkeyconfig - name: serverkeyconfig + name: {{ .Chart.Name }}-serverkey + name: serverkey - configMap: - name: {{ .Chart.Name }}-caconfig - name: caconfig + name: {{ .Chart.Name }}-servercrt + name: servercrt + - configMap: + name: {{ .Chart.Name }}-smocacrt + name: smocacrt --- -