[adguard-home] fix persistence (#785)

This commit is contained in:
ᗪєνιη ᗷυнʟ 2021-04-14 14:32:50 -04:00 committed by GitHub
parent 379ea66e0d
commit 1ea9ae8c14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 7 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.105.2 appVersion: v0.105.2
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: 3.1.0 version: 3.1.1
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- adguard-home - adguard-home

View File

@ -1,6 +1,6 @@
# adguard-home # adguard-home
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![AppVersion: v0.105.2](https://img.shields.io/badge/AppVersion-v0.105.2-informational?style=flat-square) ![Version: 3.1.1](https://img.shields.io/badge/Version-3.1.1-informational?style=flat-square) ![AppVersion: v0.105.2](https://img.shields.io/badge/AppVersion-v0.105.2-informational?style=flat-square)
DNS proxy as ad-blocker for local network DNS proxy as ad-blocker for local network
@ -92,8 +92,10 @@ N/A
| initContainers[0].volumeMounts[0].mountPath | string | `"/tmp/AdGuardHome.yaml"` | | | initContainers[0].volumeMounts[0].mountPath | string | `"/tmp/AdGuardHome.yaml"` | |
| initContainers[0].volumeMounts[0].name | string | `"adguard-home-config"` | | | initContainers[0].volumeMounts[0].name | string | `"adguard-home-config"` | |
| initContainers[0].volumeMounts[0].subPath | string | `"AdGuardHome.yaml"` | | | initContainers[0].volumeMounts[0].subPath | string | `"AdGuardHome.yaml"` | |
| persistence.config.emptyDir.enabled | bool | `false` | | | initContainers[0].volumeMounts[1].mountPath | string | `"/opt/adguardhome/conf"` | |
| persistence.config.enabled | bool | `false` | | | initContainers[0].volumeMounts[1].name | string | `"config"` | |
| persistence.config.emptyDir.enabled | bool | `true` | |
| persistence.config.enabled | bool | `true` | |
| persistence.config.mountPath | string | `"/opt/adguardhome/conf"` | | | persistence.config.mountPath | string | `"/opt/adguardhome/conf"` | |
| persistence.data.emptyDir.enabled | bool | `false` | | | persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | | | persistence.data.enabled | bool | `false` | |

View File

@ -22,6 +22,8 @@ initContainers:
- name: adguard-home-config - name: adguard-home-config
mountPath: /tmp/AdGuardHome.yaml mountPath: /tmp/AdGuardHome.yaml
subPath: AdGuardHome.yaml subPath: AdGuardHome.yaml
- name: config
mountPath: /opt/adguardhome/conf
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
@ -69,9 +71,9 @@ service:
persistence: persistence:
config: config:
enabled: false enabled: true
emptyDir: emptyDir:
enabled: false enabled: true
mountPath: /opt/adguardhome/conf mountPath: /opt/adguardhome/conf
data: data:
enabled: false enabled: false