adguard-home

by HelmForge

Helm chartv1.5.7App 1.0.0Apache-2.0Verified publisher

AdGuard Home network-wide ad and tracker blocking DNS server with sync and S3 backup

About this chart

AdGuard Home

A Helm chart for deploying AdGuard Home on Kubernetes using the official adguard/adguardhome container image.

Installation

HTTPS Repository

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install adguard-home helmforge/adguard-home

OCI Registry

helm install adguard-home oci://ghcr.io/helmforgedev/helm/adguard-home

Quick Start

By default, the chart starts in wizard mode (port 3000). Complete the setup wizard through the web UI to configure AdGuard Home.

helm install adguard-home oci://ghcr.io/helmforgedev/helm/adguard-home

# Access the setup wizard
kubectl port-forward svc/adguard-home-web 3000:80
# Then visit http://localhost:3000

To skip the wizard and deploy a pre-configured instance, provide config.adGuardHome with your desired configuration. See the preconfigured example.

Upstream Version Notes

AdGuard Home 1.0.0 introduces a completely modernized and responsive web interface, lighter memory footprint, and updated default upstream resolvers (Cloudflare DNS instead of Quad9 for new installs). The configuration schema remains backward-compatible with 0.107.x without requiring manual schema migration.

The 0.107.76 release notes also state that YAML duration values now support d day units. If you roll back to a version below v0.107.76, convert any d duration values in config.adGuardHome back to hours first.

Features

  • Network-Wide Ad Blocking - DNS-level filtering for all devices on the network
  • Two Deployment Modes - wizard mode for initial setup or pre-configured mode for automated deployments
  • DNS over HTTPS / TLS - configurable encrypted upstream DNS
  • AdGuardHome Sync - optional multi-instance synchronization via adguardhome-sync
  • S3 Backup - automated CronJob-based backup to any S3-compatible storage
  • Separate DNS Service - dedicated LoadBalancer for DNS traffic independent of the web UI
  • Dual-Stack - ipFamilyPolicy/ipFamilies on both web and DNS services for IPv4/IPv6 clusters
  • Gateway API - opt-in HTTPRoute for the web UI (alternative to Ingress; requires Gateway API CRDs)
  • ExternalSecrets - opt-in ExternalSecret to source AdGuardHome.yaml from an external secrets store
  • Ingress Support - configurable ingress with TLS for the web admin interface
  • Config Seeding - initial configuration is preserved across upgrades (only seeded on first run)
  • Volume Permission Guard - optional init container normalizes mounted volume permissions before startup

Configuration

Wizard Mode (Default)

# No config.adGuardHome - wizard runs on first access at port 3000
service:
  dns:
    type: LoadBalancer
    loadBalancerIP: "192.168.1.53"

Pre-Configured Mode

config:
  adGuardHome:
    http:
      address: 0.0.0.0:80
    users:
      - name: admin
        # bcrypt hash - generate with: htpasswd -bnBC 10 "" 'PASSWORD' | cut -d: -f2
        password: "$2y$10$..."
    dns:
      bind_hosts:
        - 0.0.0.0
      port: 53
      upstream_dns:
        - https://dns.cloudflare.com/dns-query
        - https://dns.google/dns-query
      bootstrap_dns:
        - 1.1.1.1
        - 8.8.8.8
      protection_enabled: true
      filtering_enabled: true
    filters:
      - enabled: true
        url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt
        name: AdGuard DNS filter
        id: 1
    schema_version: 29

service:
  dns:
    type: LoadBalancer
    loadBalancerIP: "192.168.1.53"

Production (Full Setup)

config:
  adGuardHome:
    http:
      address: 0.0.0.0:80
    users:
      - name: admin
        password: "$2y$10$..."
    dns:
      bind_hosts:
        - 0.0.0.0
      port: 53
      upstream_dns:
        - https://dns.cloudflare.com/dns-query
      bootstrap_dns:
        - 1.1.1.1
    schema_version: 29

persistence:
  conf:
    size: 512Mi
  work:
    size: 5Gi

resources:
  requests:
    cpu: 100m
    memory: 128Mi
  limits:
    cpu: 500m
    memory: 512Mi

service:
  dns:
    type: LoadBalancer
    loadBalancerIP: "192.168.1.53"

ingress:
  enabled: true
  ingressClassName: traefik
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
  hosts:
    - host: adguard.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - hosts:
        - adguard.example.com
      secretName: adguard-home-tls

sync:
  enabled: true
  origin:
    url: "http://adguard-primary:80"
    username: admin
    password: changeme
  replicas:
    - url: "http://adguard-replica:80"
      username: admin
      password: changeme

backup:
  enabled: true
  s3:
    endpoint: https://s3.us-east-1.amazonaws.com
    bucket: adguard-backups
    accessKey: AKIAIOSFODNN7EXAMPLE
    secretKey: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Parameters

Image

KeyDefaultDescription
image.repositorydocker.io/adguard/adguardhomeContainer image
image.tagv1.0.0Image tag
image.pullPolicyIfNotPresentPull policy

General Configuration

KeyDefaultDescription
config.adGuardHome{}Pre-seed AdGuardHome.yaml config (empty = wizard mode)
config.existingSecret""Existing Secret with AdGuardHome.yaml key
commonAnnotations{}Annotations added to every chart-owned resource; resource-specific annotations take precedence

Application Listeners

KeyDefaultDescription
containerPorts.setup3000Initial setup wizard listener passed to --web-addr
containerPorts.http80Configured admin UI listener passed to --web-addr
containerPorts.dns53DNS listener written into chart-managed AdGuardHome.yaml

The application listener and public Service port are independent. The active web listener is containerPorts.setup in wizard mode and containerPorts.http when a configuration is supplied. The chart passes that value to AdGuard Home's --web-addr argument, while Services continue to target the named http port. For chart-managed configuration, containerPorts.dns is written into dns.port. If config.existingSecret or a previously initialized configuration PVC is used, its dns.port must match containerPorts.dns. In wizard mode, select containerPorts.dns as the DNS listener before completing setup; the wizard otherwise proposes port 53, which will not match a custom Service target.

Persistence

KeyDefaultDescription
persistence.conf.enabledtrueEnable conf volume (/opt/adguardhome/conf)
persistence.conf.size256MiConf PVC size
persistence.conf.storageClass""Storage class
persistence.conf.existingClaim""Use existing PVC
persistence.work.enabledtrueEnable work volume (/opt/adguardhome/work)
persistence.work.size2GiWork PVC size
persistence.work.storageClass""Storage class
persistence.work.existingClaim""Use existing PVC

Services

KeyDefaultDescription
service.web.typeClusterIPWeb UI service type
service.web.port80Web UI port
service.web.ipFamilyPolicy~Dual-stack policy (SingleStack, PreferDualStack, RequireDualStack)
service.web.ipFamilies[]IP families (IPv4, IPv6)
service.dns.typeLoadBalancerDNS service type
service.dns.port53DNS port
service.dns.extraPorts[]Additional named DNS service ports, such as DNS-over-TLS on TCP 853
service.dns.loadBalancerIP""Fixed IP for DNS stability
service.dns.externalTrafficPolicyClusterTraffic policy for external traffic (Cluster, Local). Set to Local to preserve client source IP
service.dns.ipFamilyPolicy~Dual-stack policy (SingleStack, PreferDualStack, RequireDualStack)
service.dns.ipFamilies[]IP families (IPv4, IPv6)

Ingress

KeyDefaultDescription
ingress.enabledfalseEnable ingress for web UI
ingress.ingressClassNametraefikIngress class (traefik, nginx, etc.)
ingress.hosts[]Ingress hosts and paths
ingress.tls[]TLS configuration

Probes

KeyDefaultDescription
probes.startup.enabledtrueEnable startup probe
probes.liveness.enabledtrueEnable liveness probe
probes.readiness.enabledtrueEnable readiness probe

Security

KeyDefaultDescription
podSecurityContext.seccompProfile.typeRuntimeDefaultRuntime-default seccomp profile
securityContext.allowPrivilegeEscalationfalsePrevent privilege escalation
securityContext.capabilities.drop[ALL]Drop all Linux capabilities before adding the required exception
securityContext.capabilities.add[NET_BIND_SERVICE]Permit binding the configured DNS listener when it uses a privileged port
serviceAccount.automountServiceAccountTokenfalseMount the Kubernetes API token into chart workloads
initPermissions.enabledtrueNormalize /opt/adguardhome/conf and /opt/adguardhome/work permissions before startup
initPermissions.image.repositorydocker.io/library/busyboxInit permissions container image
initPermissions.image.tag1.37Init permissions image tag
initPermissions.securityContext.capabilities.add[CHOWN, DAC_OVERRIDE, FOWNER]Baseline-compatible capabilities for PVC ownership, recursive traversal, and directory mode updates
initPermissions.resources{}Init permissions resource requests/limits

When securityContext.runAsUser or podSecurityContext.runAsUser is configured for a non-root runtime, pre-seed AdGuardHome.yaml with config.adGuardHome or config.existingSecret. The interactive setup wizard requires administrator privileges on first launch; pre-seeded mode runs successfully with non-root UID and podSecurityContext.fsGroup.

The optional NetworkPolicy allows inbound traffic only on the active web and DNS listeners. With an empty networkPolicy.ingressFrom, those ports remain reachable from all sources, which preserves LoadBalancer DNS traffic. Supply explicit peers to restrict sources. Egress stays unrestricted unless networkPolicy.extraEgress contains rules; a non-empty list enables egress isolation and must include every required upstream DNS and HTTPS destination.

KeyDefaultDescription
networkPolicy.enabledfalseRender a NetworkPolicy for the server pod
networkPolicy.ingressFrom[]Optional peers allowed to reach the declared listeners
networkPolicy.extraIngress[]Additional complete ingress rules
networkPolicy.extraEgress[]Complete egress rules; non-empty enables egress isolation

Sync (adguardhome-sync)

KeyDefaultDescription
sync.enabledfalseEnable sync Deployment
sync.image.tagv0.9.0Sync image version
sync.origin.url""Origin instance URL
sync.origin.username""Origin admin username
sync.origin.password""Origin admin password
sync.replicas[]Replica instances (url, username, password)
sync.cron*/10 * * * *Sync schedule (empty = daemon mode)
sync.runOnStarttrueSync immediately on startup
sync.existingSecret""Pre-created Secret for credentials

Backup

KeyDefaultDescription
backup.enabledfalseEnable backup CronJob
backup.schedule0 2 * * *Backup schedule
backup.s3.endpoint""S3-compatible endpoint URL
backup.s3.region""AWS region required by workload identity
backup.s3.bucket""Target bucket
backup.s3.prefixadguard-homePrefix inside bucket
backup.s3.accessKey""Inline access key
backup.s3.secretKey""Inline secret key
backup.s3.existingSecret""Pre-created Secret for S3 credentials
backup.s3.credentialsFromPodIdentityfalseUse IRSA or EKS Pod Identity instead of static keys
backup.serviceAccount.createtrueCreate the dedicated backup ServiceAccount
backup.serviceAccount.name""Existing dedicated ServiceAccount when creation is disabled
backup.serviceAccount.annotations{}IRSA or other workload identity annotations
backup.serviceAccount.automountServiceAccountTokenfalseMount a Kubernetes API token into backup Pods

For IRSA, annotate the dedicated ServiceAccount and enable workload identity:

backup:
  enabled: true
  serviceAccount:
    annotations:
      eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/adguard-home-backup
  s3:
    endpoint: https://s3.amazonaws.com
    region: us-east-1
    bucket: adguard-home-backups
    credentialsFromPodIdentity: true

EKS Pod Identity does not use a ServiceAccount annotation. Set a stable backup.serviceAccount.name, install the EKS Pod Identity Agent unless the cluster uses EKS Auto Mode, and create the AWS-side association for the release namespace and ServiceAccount.

Gateway API

KeyDefaultDescription
gateway.enabledfalseRender an HTTPRoute for the web UI (requires Gateway API CRDs)
gateway.annotations{}Annotations for t

Deploy adguard-home with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has adguard-home on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartadguard-home is pinned at v1.5.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply