[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 appVersion: v0.102.0
description: DNS proxy as ad-blocker for local network description: DNS proxy as ad-blocker for local network
name: adguard-home name: adguard-home
version: 2.2.2 version: 2.2.3
keywords: keywords:
- adguard-home - adguard-home
- adguard - adguard

View File

@ -59,9 +59,15 @@ spec:
volumeMounts: volumeMounts:
- name: work - name: work
mountPath: /opt/adguardhome/work mountPath: /opt/adguardhome/work
{{- with .Values.persistence.work.subPath }}
subPath: {{ . }}
{{- end }}
readOnly: false readOnly: false
- name: config - name: config
mountPath: /opt/adguardhome/conf mountPath: /opt/adguardhome/conf
{{- with .Values.persistence.config.subPath }}
subPath: {{ . }}
{{- end }}
readOnly: false readOnly: false
{{- end }} {{- end }}
{{- end }} {{- end }}
@ -79,9 +85,15 @@ spec:
volumeMounts: volumeMounts:
- name: work - name: work
mountPath: /opt/adguardhome/work mountPath: /opt/adguardhome/work
{{- with .Values.persistence.work.subPath }}
subPath: {{ . }}
{{- end }}
readOnly: false readOnly: false
- name: config - name: config
mountPath: /opt/adguardhome/conf mountPath: /opt/adguardhome/conf
{{- with .Values.persistence.config.subPath }}
subPath: {{ . }}
{{- end }}
readOnly: false readOnly: false
{{- if .Values.tlsSecretName }} {{- if .Values.tlsSecretName }}
- name: certs - name: certs