From 3cdaaf07a4cae28cdb30926d695dd4584d07750f Mon Sep 17 00:00:00 2001 From: larsec Date: Fri, 23 Feb 2024 18:17:45 +0000 Subject: [PATCH] Update Chart/templates/deployment.yaml --- Chart/templates/deployment.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index a1deb33..355443d 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -150,11 +150,17 @@ spec: mountPath: "/mnt/cloud" {{- end }} {{- if .Values.storage.local.active }} - {{- range .Values.storage.folders }} - - name: local + {{- range .Values.storage.folders }} + {{- if or ( eq . certificates ) ( eq . secrets ) }} + - name: cloud + mountPath: "/app/{{ . }}" + subPath: "{{ . }}" + {{- else }} + - name: cloud mountPath: "/app/web/app/{{ . }}" subPath: "{{ . }}" - {{- end }} + {{- end }} + {{- end }} {{- else }} {{- if .Values.storage.cloud.active }} {{- range .Values.storage.folders }}