-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmrelease.yaml
51 lines (49 loc) · 1.35 KB
/
helmrelease.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: adguard-home-external-dns
namespace: adguard-home
spec:
interval: 1h
driftDetection:
mode: enabled
chart:
spec:
chart: external-dns
version: 1.15.0
sourceRef:
kind: HelmRepository
namespace: flux-system
name: external-dns
interval: 1h
values:
provider:
name: webhook
webhook:
image:
repository: ghcr.io/muhlba91/external-dns-provider-adguard
tag: v7.0.1@sha256:12ba21c06ef26a53ccc9d764bbcf932661bb04ec1e481853013f7d09a1ac714a
pullPolicy: IfNotPresent
env:
- name: ADGUARD_URL
value: http://adguard-home-origin:3000
- name: ADGUARD_USER
value: ${adguard_home_username}
- name: ADGUARD_PASSWORD
value: ${adguard_home_password}
- name: SERVER_HOST
value: 0.0.0.0
- name: SERVER_PORT
value: "8080"
securityContext:
readOnlyRootFilesystem: true
interval: 1h
triggerLoopOnEvent: true
policy: sync
registry: noop
extraArgs:
- --webhook-provider-url=http://localhost:8080
podLabels:
policy.gabe565.com/egress-adguard-api: "true"
policy.gabe565.com/egress-kubeapi: "true"
policy.gabe565.com/egress-world: "true"