diff --git a/Chart/templates/job.yaml b/Chart/templates/job.yaml index 693adf4..c5d2299 100644 --- a/Chart/templates/job.yaml +++ b/Chart/templates/job.yaml @@ -93,16 +93,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 }}