From 6a66bc98295d2ba3b39257198692a24ffb3ba759 Mon Sep 17 00:00:00 2001 From: larsec Date: Thu, 22 Feb 2024 15:15:18 +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 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 }}