X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Ftemplates%2Fdeployment.yaml;h=d9ebf10f963a69d0c74ec5a49a672d589369739e;hb=9272883daa0cca579c108ff419d6b14b2b5aa0b9;hp=82b675dd7e7bfc41349cb1587b2a4a17f63571ec;hpb=bd72340e71574c7095e94aa2719df66c3f711545;p=pti%2Fo2.git diff --git a/charts/templates/deployment.yaml b/charts/templates/deployment.yaml index 82b675d..d9ebf10 100644 --- a/charts/templates/deployment.yaml +++ b/charts/templates/deployment.yaml @@ -141,6 +141,18 @@ spec: mountPath: /opt - name: configs mountPath: /configs + - name: applicationconfig + mountPath: /configs/o2app.conf + subPath: config.json + readOnly: true + - name: caconfig + mountPath: /configs/ca.cert + subPath: config.json + readOnly: true + - name: serverkeyconfig + mountPath: /configs/server.key + subPath: config.json + readOnly: true - name: helmcli image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}" ports: @@ -154,12 +166,20 @@ spec: volumeMounts: - name: scripts mountPath: /opt - - name: configs - mountPath: /configs volumes: - name: scripts configMap: name: {{ .Chart.Name }}-scripts-configmap - name: configs emptyDir: {} + - configMap: + name: {{ .Chart.Name }}-application-config + name: applicationconfig + - configMap: + name: {{ .Chart.Name }}-serverkeyconfig + name: serverkeyconfig + - configMap: + name: {{ .Chart.Name }}-caconfig + name: caconfig --- +