home-assistant

by benji

Helm chartv0.9.0App 2026.8.0Verified publisher

HomeAssistant is an open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server..

About this chart

Home Assistant

HomeAssistant is an open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server..

Installing the Chart

This chart is published two ways: as a classic Helm repo via GitHub Pages (releases only), and as an OCI artifact via the GitHub Container Registry (releases and alpha builds).

Via the classic repo:

$ helm repo add newbenji-charts https://newbenji.github.io/charts/
$ helm repo update
$ helm install my-release newbenji-charts/home-assistant --version 0.9.0

Via OCI:

$ helm install my-release oci://ghcr.io/newbenji/charts/home-assistant --version 0.9.0

To just download the chart package:

$ helm pull oci://ghcr.io/newbenji/charts/home-assistant --version 0.9.0

Values

KeyTypeDefaultDescription
affinityobject{}
config.automationslist[]DEPRECATED, to be removed: use an automation: section in config.packages instead. List of automations, mounted read-only at /config/automations/automations.yaml - deliberately not /config/automations.yaml, which HA's UI automation editor writes to. Load them alongside the UI ones by adding automation chart: !include automations/automations.yaml to configuration.yaml. See https://www.home-assistant.io/docs/automation/yaml/
config.blueprints.automationobject{}Automation blueprints as a map of file name to blueprint, mounted read-only into /config/blueprints/automation/helm/. Each blueprint is either a YAML string, or a map in which HA tags must be quoted ("!input motion_entity") since Helm drops unquoted custom tags. See https://www.home-assistant.io/docs/automation/using_blueprints/
config.blueprints.scriptobject{}Script blueprints, same format as blueprints.automation, mounted into /config/blueprints/script/helm/
config.configuration.contentstring"# Loads default set of integrations. Do not remove.\ndefault_config:\n\n# Load frontend themes from the themes folder\nfrontend:\n themes: !include_dir_merge_named themes\n\nautomation: !include automations.yaml\nscript: !include scripts.yaml\nscene: !include scenes.yaml\n"configuration.yaml body (seed/managed mode), as a YAML string (rendered as-is, comments kept) or a map with quoted HA tags. Must not define homeassistant: - use config.configuration.homeassistant. The default is Home Assistant's own default configuration. Keep the automation/script/scene includes so HA's UI editors keep working - they write to those files on the PVC
config.configuration.homeassistantobject{}Settings for the homeassistant: block of configuration.yaml (seed/managed mode), e.g. name, time_zone, customize. The chart adds packages: !include_dir_named packages here when config.packages is set. HA tags must be quoted, e.g. customize: "!include customize.yaml"
config.configuration.modestring"unmanaged"Who owns /config/configuration.yaml. unmanaged: the chart doesn't touch it (HA writes its default on first boot; add includes by hand). seed: an initContainer writes the rendered file only if none exists yet, after which it's yours to edit. managed: the rendered file is mounted read-only and every change rolls the pod - configuration.yaml lives in Git. In seed and managed mode, empty automations.yaml/scripts.yaml/scenes.yaml are created if missing, since HA only creates those alongside its own default configuration.yaml. Switching an existing install to managed hides the configuration.yaml on the PVC - paste it into content first
config.http.ip_ban_enabledboolfalseBan IPs after too many failed login attempts
config.http.login_attempts_thresholdint5Number of failed login attempts before an IP is banned
config.http.trusted_proxieslist[]CIDR ranges of reverse proxies trusted to set X-Forwarded-For/X-Forwarded-Proto
config.http.use_x_forwarded_forboolfalseTrust the X-Forwarded-For header from trusted_proxies. See https://www.home-assistant.io/integrations/http/. DEPRECATED along with all of config.http, to be removed: use an http: section in config.packages instead
config.notifylist[]DEPRECATED, to be removed: use a notify: section in config.packages instead. Rendered into configmap-notify.yaml as Home Assistant's notify platform config
config.packagesobject{}Home Assistant packages (https://www.home-assistant.io/docs/configuration/packages/) as a map of file name (must end in .yaml) to package, mounted read-only into /config/packages/. A package can hold any mix of integrations - automation, script, template, sensor, recorder, ... Each is either a YAML string (rendered as-is, comments kept), or a map in which HA tags must be quoted (db_url: "!secret hadbconfig"), since Helm silently drops unquoted custom tags from values. Load them all by adding this once to configuration.yaml: homeassistant: {packages: !include_dir_named packages}. Mounting this hides any packages/ directory already on the PVC. A change rolls the pod
config.recorder.purge_keep_daysint30Number of days of history to keep in the recorder database. See https://www.home-assistant.io/integrations/recorder/. DEPRECATED along with all of config.recorder, to be removed: use a recorder: section in config.packages instead
config.scriptsobject{}DEPRECATED, to be removed: use a script: section in config.packages instead. Scripts, mounted read-only at /config/scripts/scripts.yaml. Load them by adding e.g. script chart: !include scripts/scripts.yaml to configuration.yaml. See https://www.home-assistant.io/docs/scripts/
config.secrets.existingSecretstring""Mount /config/secrets.yaml (what !secret reads) from this existing Secret, e.g. one created by ExternalSecrets, SOPS or SealedSecrets. Each key in the Secret becomes one key: value entry, written by an initContainer at pod start (a single trailing newline is stripped from each value). Replaces any secrets.yaml already on the PVC - move its entries into the Secret first. Changes only apply on the next pod start; use e.g. Reloader via podAnnotations to restart automatically
config.secrets.fileKeystring""Instead of building secrets.yaml from all keys, mount this one key of the Secret as the complete secrets.yaml file
config.secrets.valuesobject{}Secrets to put in a chart-created Secret instead of existingSecret, as key: value. Convenient but lands in your values in plain text - prefer existingSecret for anything committed to Git
config.telegram_botlist[]Rendered into configmap-telegram-bot.yaml as Home Assistant's telegram_bot platform config. DEPRECATED: current Home Assistant no longer supports YAML setup for telegram_bot and errors on load - set it up via Settings > Devices & Services instead
dnsPolicystring"ClusterFirstWithHostNet"Dns policy
extraContainerPortslist[]Additional ports to open on the Home Assistant container, e.g. for integrations that listen on their own port (ESPHome dashboard, Matter, HomeKit Bridge, etc). Set count greater than 1 to open a contiguous range starting at containerPort. Port names must stay within Kubernetes' 15-character limit and be unique
extraManifestslist[]Additional arbitrary Kubernetes manifests to render alongside the chart, e.g. an ExternalSecret or a NetworkPolicy. Each entry is either a map (rendered via toYaml) or a string (rendered as-is); both are passed through tpl, so release/values templating works inside them
fullnameOverridestring""
hadbconfigstring""Recorder database connection string, written into secrets.yaml as hadbconfig and referenced by config.recorder's db_url. DEPRECATED, to be removed: put it in config.secrets and reference it from a recorder: package as db_url: "!secret hadbconfig".
homeAssistant.persistence.volumeNamestring""Bind the PVC to a specific pre-provisioned PersistentVolume by name. Leave empty to let the cluster's default provisioner handle it.
hostNetworkbooltrueEnables host networking (so that home assistant can scan devices automatically on the same network). If set to false, you might want to amend dnsPolicy value as well
httpRoute.annotationsobject{}Annotations to add to the HTTPRoute
httpRoute.enabledboolfalseExpose Home Assistant via a Gateway API HTTPRoute instead of an Ingress. Requires the Gateway API CRDs and a Gateway to already exist in the cluster. Mutually exclusive with ingress.enabled
httpRoute.hostnameslist[]Hostnames the route matches. Leave empty to match all hostnames on the parent Gateway listener(s)
httpRoute.labelsobject{}Additional labels to add to the HTTPRoute
httpRoute.matcheslist[{"path":"/","pathType":"PathPrefix"}]Path matches routed to the Home Assistant service
httpRoute.parentRefslist[{"name":""}]References to the Gateway(s) this route attaches to
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"homeassistant/home-assistant"Home Assistant image repository
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
ingress.annotationsobject{}Annotations to add to the Ingress, e.g. ingress-controller-specific annotations such as nginx.ingress.kubernetes.io/*
ingress.classNamestring""IngressClass to use, e.g. "nginx". Leave empty to use the cluster's default IngressClass
ingress.enabledboolfalseExpose Home Assistant via a classic Ingress resource. Mutually exclusive with httpRoute.enabled
ingress.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Host/path rules routed to the Home Assistant service
ingress.tlslist[]TLS configuration for the Ingress
macvlan.enabledboolfalseGive the pod a second interface directly in a LAN/VLAN with Multus + macvlan, as an alternative to hostNetwork: mDNS, SSDP, Cast and Matter/Thread discovery work on that interface, while eth0 stays a normal CNI pod interface (Services, NetworkPolicies, Gateway API). Needs Multus in the cluster and hostNetwork: false (the render fails otherwise). The chart renders the k8s.v1.cni.cncf.io/networks pod annotation, so don't set it in podAnnotations. Set Home Assistant's network adapter (Settings > System > Network) to this interface only, and its local URL to the interface IP, so Cast devices can fetch TTS and media from it
macvlan.extraSysctlsobject{}Additional sysctls for the tuning plugin, e.g. {"net.ipv4.conf.net1.arp_ignore": "1"}
macvlan.interfacestring"net1"
macvlan.ipamobject{"type":"static"}IPAM block of the macvlan plugin. The default static IPAM takes the addresses from ips above and adds no default route, so only the interface's own subnet goes through it
macvlan.ipslist[]Fixed addresses for the interface (CIDR), e.g. ["192.168.20.5/24"]. Keep them outside the network's DHCP range. With replicas: 1 and strategy: Recreate, the address is never in use twice
macvlan.ipv6.defaultRouteboolfalseAccept an IPv6 default route from the RAs. Off by default, so internet traffic stays on eth0
macvlan.ipv6.enabledbooltrueTurn IPv6 on for the interface and accept router advertisements (via the CNI tuning plugin, since these sysctls are per interface and the interface only exists after pod start). Needed for Matter over Thread: the Thread border router announces the route to the Thread mesh in its RAs
macvlan.ipv6.routeInfoMaxPrefixLengthint64accept_ra_rt_info_max_plen: the longest prefix accepted from RA Route Information Options. The kernel default 0 ignores them, which drops the route to the Thread mesh (a /64)
macvlan.macstring""Fixed MAC address, e.g. a locally administered one (02:...), so the router/controller keeps seeing one client across pod restarts. Empty = a random MAC per pod
macvlan.masterstring""Host interface the macvlan sits on, e.g. a VLAN subinterface (iot0) that exists with the same name on every node HA can run on. Required when the chart creates the NetworkAttachmentDefinition
macvlan.modestring"bridge"macvlan mode
macvlan.networkAttachmentDefinition.annotationsobject{}Annotations for the NetworkAttachmentDefinition, e.g. an Argo CD sync wave so it exists before the pod starts
macvlan.networkAttachmentDefinition.createbooltrueCreate the NetworkAttachmentDefinition in the release namespace. Set to false to use an existing one, named in name below
macvlan.networkAttachmentDefinition.namestring""Name of the NetworkAttachmentDefinition. Defaults to -macvlan when the chart creates it; required when create is false
matterServer.enabledboolfalseIMPORTANT: the image runs as a non-root user (uid 1000). If the Home Assistant container runs as root (the chart's default - see securityContext above), that user can't write to the shared config volume unless you set podSecurityContext.fsGroup: 1000 (or matching whatever uid the image uses) - otherwise this crash-loops on "EACCES: permission denied, mkdir '/data/config'" and, since Kubernetes requires every container in t

Deploy home-assistant with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has home-assistant 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 charthome-assistant is pinned at v0.9.0 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