[adguard-home] fix volumes subpath (#714)

This commit is contained in:
Zakaria ANBARI 2021-03-25 11:52:01 +01:00 committed by GitHub
parent 12df5053ab
commit 8ec4a9ab93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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