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