mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 21:51:20 +00:00
change(adguard): use lib42 chart
This commit is contained in:
parent
aa4262ccd9
commit
f54dad6c22
2 changed files with 163 additions and 124 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue