change volumeMount

This commit is contained in:
Marko Oldenburg 2024-10-11 11:51:49 +02:00
parent ba7f0d8240
commit 04cd2dea41

View File

@ -54,9 +54,11 @@ spec:
path: /fhem path: /fhem
port: fhemweb port: fhemweb
volumeMounts: volumeMounts:
{{- if .Values.persistence.enabled }}
- name: fhem-data - name: fhem-data
mountPath: /opt/fhem mountPath: /opt/fhem
subPath: fhem/ subPath: fhem/
{{- end }}
{{- if eq .Values.configtype "configDB" }} {{- if eq .Values.configtype "configDB" }}
- name: configdb-volume - name: configdb-volume
mountPath: /opt/fhem/configDB.conf mountPath: /opt/fhem/configDB.conf