mirror of
https://github.com/nold360/hive-apps
synced 2024-07-05 16:03:30 +00:00
change(adguard): use lib42 chart
This commit is contained in:
parent
aa4262ccd9
commit
f54dad6c22
|
@ -3,9 +3,9 @@ config:
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
- name: adguard
|
- name: adguard
|
||||||
repoURL: https://k8s-at-home.com/charts
|
repoURL: https://github.com/lib42/charts
|
||||||
chart: adguard-home
|
path: charts/adguard-home
|
||||||
targetRevision: 5.5.2
|
targetRevision: add/adguard-home
|
||||||
#include:
|
#include:
|
||||||
#- noRoot
|
#- noRoot
|
||||||
#- tmpdirs
|
#- tmpdirs
|
||||||
|
|
|
@ -49,7 +49,11 @@ service:
|
||||||
targetPort: 5353
|
targetPort: 5353
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
|
|
||||||
config: |
|
configMaps:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
data:
|
||||||
|
AdGuardHome.yaml: |
|
||||||
bind_host: 0.0.0.0
|
bind_host: 0.0.0.0
|
||||||
bind_port: 3000
|
bind_port: 3000
|
||||||
beta_bind_port: 0
|
beta_bind_port: 0
|
||||||
|
@ -170,3 +174,38 @@ config: |
|
||||||
log_file: ""
|
log_file: ""
|
||||||
verbose: false
|
verbose: false
|
||||||
schema_version: 10
|
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