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