home-assistant

by alekc

Helm chartv2.14.3App 2026.11.3Apache-2.0Verified publisher

Home Assistant on Kubernetes with automatic upstream version tracking, LAN-discovery host networking, and declarative /config management.

About this chart

Home Assistant

Home Assistant on Kubernetes with automatic upstream version tracking, LAN-discovery host networking, and declarative /config management.

Home Assistant is a self-hosted home-automation hub: it integrates smart-home devices (Zigbee, Z-Wave, Matter, Wi-Fi, Bluetooth) from hundreds of brands behind a single local-first dashboard, without sending device data to a cloud vendor. This chart runs the official ghcr.io/home-assistant/home-assistant container on Kubernetes, with host networking for LAN device discovery (mDNS/SSDP), a persistent /config volume, and optional declarative /config files via a ConfigMap.

This chart tracks upstream automatically: a bot bumps appVersion (and the chart's own version, following semver) every time Home Assistant ships a new release, so appVersion here always matches the latest published Home Assistant version, not a stale snapshot.

Quick start

From the classic chart repository:

$ helm repo add alekc-charts https://charts.alekc.dev/
$ helm install my-release alekc-charts/home-assistant -f values-example.yaml

Or directly from the OCI registry, no helm repo add needed:

$ helm install my-release oci://charts.alekc.dev/home-assistant --version <x.y.z> -f values-example.yaml

A minimal working values.yaml, host networking for LAN device discovery, a persistent /config volume, and an Ingress in front of the built-in HTTP server:

hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet

persistence:
  enabled: true
  storageClass: "your-storage-class"
  size: 5Gi

ingress:
  enabled: true
  className: nginx
  hosts:
    - host: hass.example.com
      paths:
        - path: /
          pathType: ImplementationSpecific
  tls:
    - hosts:
        - hass.example.com
      secretName: hass-tls

Verifying the signature

Every stable release is GPG-signed:

$ curl -sO https://charts.alekc.dev/pubring.gpg
$ helm pull oci://charts.alekc.dev/home-assistant --version <x.y.z> --verify --keyring pubring.gpg
Signed by: <maintainer name and email>
Using Key With Fingerprint: 290844476DDC5961D0B31EFD772FB27A86DAFCE7
Chart Hash Verified: sha256:...

Needs a reasonably current Helm. Helm 3.19.4 has a confirmed bug where pull --verify against an oci:// reference crashes on a file-handling error, even with the correct key and a valid signature (reproduced directly: a wrong key fails cleanly with signature made by unknown entity, the genuinely correct key crashed instead of succeeding). Fixed by Helm 3.21.4 and confirmed working on v4.2.4, same command, same chart, verifies cleanly on both. If you hit this on an older 3.x, upgrade Helm rather than work around it.

Gotchas

  • configuration.mount files never hot-reload. Each entry in configuration.files is mounted individually with subPath, which is how the rest of /config stays writable on the PVC for the UI. But subPath mounts never pick up ConfigMap content changes on their own, the chart works around this by rolling the Deployment on every content change (checksum/configuration pod annotation), so a values-only edit still triggers a redeploy even though nothing else changed.
  • configuration.reloadable.files change without a restart, but need a reload. They are mounted as one directory (default /config/git, so !include git/<name>), which the kubelet refreshes in place, typically within a minute or two, and they are not part of the checksum. Home Assistant does not watch them: call homeassistant.reload_all (or a domain reload) afterwards, for example from an automation. If an automation triggers the reload, keep it in configuration.yaml or another non-reloadable file: when its own config changes, automation.reload removes it mid-run, the reload is cancelled half-way, and Home Assistant refuses to re-add it until a restart. Only put files there whose integrations can reload (automations, templates, scripts, REST, MQTT YAML); sql and everything in configuration.yaml itself still need a restart, so keep those in configuration.files. Adding a new file also means a new !include, which rolls the pod.
  • Files under configuration.mount are read-only. Home Assistant's UI editors (automations, scenes, configuration.yaml include files) cannot write back to anything mounted this way. Only put files here that you intend to manage exclusively through git, everything else should stay on the PVC and editable from the UI.
  • additionalManifests is a chart-level escape hatch, not the same key you may already use one layer up. Each entry renders as a raw manifest through this Helm release itself (templated with tpl, so it can reference .Release.Namespace and friends), there's no ordering, dependency, or lifecycle management beyond "apply alongside everything else in this release". If you deploy this chart via terraform-home-cluster's app-of-apps orchestrator, its own additionalManifests: key (a sibling of helmValues: on the app block) is a different feature at a different layer, rendered directly by the orchestrator and bypassing Helm entirely. Both exist for the same reason (attach one extra manifest without forking the chart), pick whichever layer you're already working in, don't assume setting one also sets the other.
  • hostNetwork: true bypasses the Kubernetes Service network entirely. The container binds directly to the node's network namespace, this is what makes mDNS/SSDP device discovery work, but it also means the pod can reach (and be reached by) anything on the node's LAN, there is no NetworkPolicy isolation for a host-networked pod. Setting it to false gets you normal cluster networking back, but breaks discovery for devices that rely on LAN broadcast (Hue bridges, Chromecast, some Zigbee bridges); most Zigbee/Z-Wave setups that talk to a coordinator over TCP (see the zigbee2mqtt chart) don't need it.
  • networkPolicy.enabled refuses to render alongside hostNetwork: true. A host-networked pod bypasses the CNI's pod network on most implementations, so a NetworkPolicy would silently do nothing while looking like real isolation. Set hostNetwork: false first if you want the egress allowlist (DNS plus the named MQTT/ Postgres namespaces).
  • No K8s API access is needed or granted. serviceAccount.automountServiceAccountToken defaults to false, Home Assistant never calls the Kubernetes API. Leave it off unless a custom integration you install specifically needs cluster introspection.
  • deploymentStrategy: Recreate is intentional, not a default left unconfigured. The PVC is ReadWriteOnce and Home Assistant's SQLite-backed default recorder does not tolerate two pods writing /config at once, RollingUpdate would deadlock on the second pod waiting for a volume already attached to the first.
  • Probes hit /manifest.json, not an authenticated health endpoint. It is the earliest path the frontend serves without an API token, so it turns healthy as soon as the web server is up. It does not confirm the recorder, or any integration, finished loading, a green pod does not always mean automations are already running.
  • gateway.enabled attaches to an existing Gateway, it never creates one. The Gateway object (and the Gateway API CRDs themselves) are cluster-level infrastructure managed outside this chart. Set gateway.name (and gateway.namespace if it isn't in this release's namespace) to an already-provisioned Gateway; the chart refuses to render without a name rather than silently produce an HTTPRoute with nothing to attach to.
  • metrics.serviceMonitor.enabled needs Home Assistant's own Prometheus integration configured first, the ServiceMonitor only tells Prometheus where to scrape, it doesn't turn the endpoint on. Add prometheus: to configuration.files' configuration.yaml (see the upstream Prometheus integration docs), generate a long-lived access token from a user profile, and put it in an existing Secret referenced by metrics.serviceMonitor.bearerTokenSecret.name. The chart refuses to render without that secret name, the endpoint always requires a bearer token.

Upgrade notes

  • 2.10.0: values.schema.json is now enforced (helm lint / helm template reject unknown or mistyped values). Existing values.yaml overrides that only used documented keys need no changes. The ingress template now renders networking.k8s.io/v1 unconditionally, if you are on a Kubernetes cluster older than 1.19 (unsupported upstream since 2020), pin an earlier chart version instead of upgrading.

Values

KeyTypeDefaultDescription
additionalManifestsobject{}Additional raw Kubernetes manifests to render alongside the chart's own resources. Supports any valid Kubernetes object; values are templated with tpl, so a manifest can reference .Release.Namespace and friends. Mirrors the common Helm library's own additionalManifests block for charts (like this one) that don't depend on common. Example: additionalManifests: my-configmap: apiVersion: v1 kind: ConfigMap metadata: name: my-configmap data: key: value
affinityobject{}Affinity rules for pod scheduling.
annotationsobject{}Annotations added to the Deployment's own metadata, distinct from commonAnnotations (every resource) and podAnnotations (the pod template).
commonAnnotationsobject{}Annotations added to every resource this chart renders, merged with any resource-specific annotations (e.g. ingress.annotations).
commonLabelsobject{}Labels added to every resource this chart renders.
configuration.annotationsobject{}Annotations merged onto the rendered ConfigMap.
configuration.filesobject{}Map of filename to file contents, e.g. configuration.yaml. Keys must be plain filenames (no directories) because they become ConfigMap keys. Changing any content rolls the pod, since subPath mounts never pick up ConfigMap updates on their own.
configuration.mountboolfalseMount the files below over /config, rendered from a ConfigMap. Each file is mounted individually with subPath, so the rest of /config stays writable on the PVC. Mounted files are read-only: Home Assistant cannot edit them from the UI, so only use this for files you manage declaratively.
configuration.reloadable.filesobject{}Filename to contents, mounted as one read-only directory at mountPath (no subPath). The kubelet updates it in place and it is not in the pod checksum, so edits do not roll the pod: reload in Home Assistant instead, e.g. homeassistant.reload_all.
configuration.reloadable.mountPathstring"/config/git"Directory for reloadable.files; reference them as !include git/<name> from configuration.yaml. Must not be /config.
deploymentStrategy.typestring"Recreate"Deployment strategy. Recreate is required, see Gotchas.
dnsPolicystring"ClusterFirstWithHostNet"Pod DNS policy. Use ClusterFirstWithHostNet when hostNetwork is true.
environmentobject{}Environment variables to inject into the home-assistant container. Each entry's key becomes the env var name. The value can be either: - a scalar (string/number/bool), rendered as value: "..." - a map, rendered verbatim (e.g. valueFrom, valueFromExpr, etc.)
extraContainerslist[]Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends.
fullnameOverridestring""Overrides the full generated resource name.
gateway.annotationsobject{}Annotations merged onto the HTTPRoute resource.
gateway.enabledboolfalseRenders an HTTPRoute attached to an existing Gateway, instead of (or alongside) Ingress. Requires the Gateway API CRDs and a Gateway already provisioned elsewhere, this chart never creates the Gateway itself.
gateway.hostnameslist["hass.example.com"]Hostnames this HTTPRoute matches, standard Gateway API shape.
gateway.namestring""Name of the existing Gateway to attach to.
gateway.namespacestring""Namespace of the existing Gateway. Defaults to this release's namespace when empty.
gateway.ruleslist[{"matches":[{"path":{"type":"PathPrefix","value":"/"}}]}]Route match rules. Only matches is templated per rule, the backend is always this chart's own Service, standard Gateway API HTTPRoute matches shape.
gateway.sectionNamestring""Optional listener sectionName on the Gateway to attach to.
hostNetworkbooltrueEnables host networking so Home Assistant can discover LAN devices (mDNS/SSDP) automatically. If set to false, you likely also want to change dnsPolicy below.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"ghcr.io/home-assistant/home-assistant"Container image repository.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Image pull secrets for a private registry.
ingress.annotationsobject{}Annotations merged onto the Ingress resource.
ingress.classNamestring""IngressClass name (e.g. nginx, traefik).
ingress.enabledboolfalseEnables the Ingress res

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 v2.14.3 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