diff --git a/adguardhome/Chart.yaml b/adguardhome/Chart.yaml index 6670d3e..8d5a793 100644 --- a/adguardhome/Chart.yaml +++ b/adguardhome/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: adguardhome description: AdGuard Home DNS server Helm chart type: application -version: 0.1.7 +version: 0.1.8 appVersion: "0.107.79" annotations: version-source: github-release:AdguardTeam/AdGuardHome diff --git a/adguardhome/templates/deployment.yaml b/adguardhome/templates/deployment.yaml index b9931b0..e019b34 100644 --- a/adguardhome/templates/deployment.yaml +++ b/adguardhome/templates/deployment.yaml @@ -46,8 +46,15 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: + # subPath mounts, not the whole /opt/adguardhome -- the AdGuardHome + # binary itself ships inside the image at /opt/adguardhome/AdGuardHome, + # so mounting the entire parent directory shadows it. - name: data - mountPath: /opt/adguardhome + mountPath: /opt/adguardhome/work + subPath: work + - name: data + mountPath: /opt/adguardhome/conf + subPath: conf volumes: - name: data persistentVolumeClaim: