X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=charts%2Ftemplates%2Fdeployment.yaml;h=a5deaf6f4d1101bcce3d2d50994ef078d5f0737d;hb=refs%2Fheads%2Fg-release;hp=d912a06311aad8dfc7afb2e315be4a05ef1675db;hpb=5152cf27d5e8ab8b40e18fe9a5accdda0727894c;p=pti%2Fo2.git diff --git a/charts/templates/deployment.yaml b/charts/templates/deployment.yaml index d912a06..a5deaf6 100644 --- a/charts/templates/deployment.yaml +++ b/charts/templates/deployment.yaml @@ -156,8 +156,10 @@ spec: volumeMounts: - name: scripts mountPath: /opt - # - name: configs - # mountPath: /configs + {{- if .Values.o2dms.helm_cli_enable }} + - name: share + mountPath: /share + {{- end }} - name: applicationconfig mountPath: /configs/o2app.conf subPath: config.json @@ -184,13 +186,17 @@ spec: volumeMounts: - name: scripts mountPath: /opt + - name: share + mountPath: /share {{- end }} volumes: - name: scripts configMap: name: {{ .Chart.Name }}-scripts-configmap - # - name: configs - # emptyDir: {} + {{- if .Values.o2dms.helm_cli_enable }} + - name: share + emptyDir: {} + {{- end }} - configMap: name: {{ .Chart.Name }}-application-config name: applicationconfig