diff --git a/charts/stable/adguard-home/Chart.yaml b/charts/stable/adguard-home/Chart.yaml index e38b35d0..d267927c 100644 --- a/charts/stable/adguard-home/Chart.yaml +++ b/charts/stable/adguard-home/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v0.102.0 description: DNS proxy as ad-blocker for local network name: adguard-home -version: 2.2.2 +version: 2.2.3 keywords: - adguard-home - adguard diff --git a/charts/stable/adguard-home/templates/deployment.yaml b/charts/stable/adguard-home/templates/deployment.yaml index 41c17daa..78bad7ee 100644 --- a/charts/stable/adguard-home/templates/deployment.yaml +++ b/charts/stable/adguard-home/templates/deployment.yaml @@ -59,9 +59,15 @@ spec: volumeMounts: - name: work mountPath: /opt/adguardhome/work + {{- with .Values.persistence.work.subPath }} + subPath: {{ . }} + {{- end }} readOnly: false - name: config mountPath: /opt/adguardhome/conf + {{- with .Values.persistence.config.subPath }} + subPath: {{ . }} + {{- end }} readOnly: false {{- end }} {{- end }} @@ -79,9 +85,15 @@ spec: volumeMounts: - name: work mountPath: /opt/adguardhome/work + {{- with .Values.persistence.work.subPath }} + subPath: {{ . }} + {{- end }} readOnly: false - name: config mountPath: /opt/adguardhome/conf + {{- with .Values.persistence.config.subPath }} + subPath: {{ . }} + {{- end }} readOnly: false {{- if .Values.tlsSecretName }} - name: certs