diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index e4a3474..ddb8b32 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -145,16 +145,16 @@ spec: - name: serverconfig mountPath: /docker-entrypoint.d/unit.json subPath: unit.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 }}