diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index a1deb33..355443d 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -150,11 +150,17 @@ spec: mountPath: "/mnt/cloud" {{- end }} {{- if .Values.storage.local.active }} - {{- range .Values.storage.folders }} - - name: local + {{- range .Values.storage.folders }} + {{- if or ( eq . certificates ) ( eq . secrets ) }} + - name: cloud + mountPath: "/app/{{ . }}" + subPath: "{{ . }}" + {{- else }} + - name: cloud mountPath: "/app/web/app/{{ . }}" subPath: "{{ . }}" - {{- end }} + {{- end }} + {{- end }} {{- else }} {{- if .Values.storage.cloud.active }} {{- range .Values.storage.folders }}