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"]
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:
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:
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
---