From 04cd2dea41fa3a9627662eae2b7463b767ea68a2 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Fri, 11 Oct 2024 11:51:49 +0200 Subject: [PATCH] change volumeMount --- templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index eb759fd..2d01a57 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -54,9 +54,11 @@ spec: path: /fhem port: fhemweb volumeMounts: + {{- if .Values.persistence.enabled }} - name: fhem-data mountPath: /opt/fhem subPath: fhem/ + {{- end }} {{- if eq .Values.configtype "configDB" }} - name: configdb-volume mountPath: /opt/fhem/configDB.conf