From a2a9d05ee00badfa62f3ddd313e2bc18993c33eb Mon Sep 17 00:00:00 2001 From: larsec Date: Thu, 22 Feb 2024 19:35:03 +0000 Subject: [PATCH] Update Chart/templates/job.yaml --- Chart/templates/job.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }}