change(adguard): use lib42 chart

This commit is contained in:
nold 2023-04-03 21:51:30 +02:00
parent aa4262ccd9
commit f54dad6c22
2 changed files with 163 additions and 124 deletions

View file

@ -3,9 +3,9 @@ config:
apps:
- name: adguard
repoURL: https://k8s-at-home.com/charts
chart: adguard-home
targetRevision: 5.5.2
repoURL: https://github.com/lib42/charts
path: charts/adguard-home
targetRevision: add/adguard-home
#include:
#- noRoot
#- tmpdirs

View file

@ -49,7 +49,11 @@ service:
targetPort: 5353
externalTrafficPolicy: Local
config: |
configMaps:
config:
enabled: true
data:
AdGuardHome.yaml: |
bind_host: 0.0.0.0
bind_port: 3000
beta_bind_port: 0
@ -170,3 +174,38 @@ config: |
log_file: ""
verbose: false
schema_version: 10
# When using adguard-exporter:
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9617"
prometheus.io/path: "/metrics"
# See: https://github.com/ebrianne/adguard-exporter
additionalContainers:
adguard-exporter:
image: ebrianne/adguard-exporter:latest
env:
- name: adguard_protocol
value: "http"
- name: adguard_hostname
value: '127.0.0.1'
- name: adguard_username
value: ""
- name: adguard_password
value: ""
- name: adguard_port
value: "3000"
- name: interval
value: "10s"
- name: log_limit
value: "10000"
- name: server_port
value: 9617
securityContext:
# runAsNonRoot: true
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL