diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index ddb8b32..a1deb33 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -99,16 +99,16 @@ spec: - name: serverconfig mountPath: /init-go/config.json subPath: init.json + {{- if .Values.storage.cloud.active }} + - name: cloud + mountPath: "/mnt/cloud" + {{- end }} {{- if .Values.storage.local.active }} {{- range .Values.storage.folders }} - name: local mountPath: "/app/web/app/{{ . }}" subPath: "{{ . }}" {{- end }} - {{- if .Values.storage.cloud.active }} - - name: cloud - mountPath: "/mnt/cloud" - {{- end }} {{- else }} {{- if .Values.storage.cloud.active }} {{- range .Values.storage.folders }}