+ {{- if .Values.o2dms.helm_cli_enable }}
+ - name: share
+ mountPath: /share
+ {{- end }}
+ - 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
+ {{- if .Values.o2dms.helm_cli_enable }}
+ - name: helmcli
+ image: "{{ .Values.o2ims.images.tags.o2service }}"
+ ports:
+ - containerPort: 22
+ env:
+ - name: API_HOST_EXTERNAL_FLOATING
+ value: {{ .Values.ocloud.API_HOST_EXTERNAL_FLOATING }}
+ - name: HELM_USER_PASSWD
+ value: {{ .Values.ocloud.HELM_USER_PASSWD }}
+ command: ["/bin/bash", "/opt/o2_helmcli_start.sh"]
+ volumeMounts:
+ - name: scripts
+ mountPath: /opt
+ - name: share
+ mountPath: /share
+ {{- end }}