home-assistant

by roeidalm

Helm chartv2025.3.0App 2025.3.0Verified publisher

Home Assistant

About this chart

home-assistant

Helm chart originally based on a chart from k8s-at-home.

Source Code

Requirements

Kubernetes: >=1.16.0-0

Dependencies

RepositoryNameVersion
https://library-charts.k8s-at-home.comcommon4.5.2

TL;DR

helm repo add roeidalm https://roeidalm.github.io/helm-charts/
helm repo update
helm install home-assistant roeidalm/home-assistant

Installing the Chart

To install the chart with the release name home-assistant

helm install home-assistant roeidalm/home-assistant

Uninstalling the Chart

To uninstall the home-assistant deployment

helm uninstall home-assistant

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install home-assistant \
  --set env.TZ="America/New York" \
    roeidalm/home-assistant

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install home-assistant roeidalm/home-assistant -f values.yaml

Metrics collection

If metrics collection is enabled through the metrics.enabled: true setting, make sure to also enable the Prometheus endpoint in your Home-Assistant configuration. See the official documentation for more details on how to set this up.

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

KeyTypeDefaultDescription
addons.codeserverobjectSee values.yamlEnable and configure codeserver for the chart. This allows for easy access to configuration.yaml
envobjectSee belowenvironment variables.
env.TZstring"UTC"Set the container timezone
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"ghcr.io/home-assistant/home-assistant"image repository
image.tagstringchart.appVersionimage tag
influxdbobjectSee values.yamlEnable and configure influxdb database subchart under this key. For more options see influxdb chart documentation
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
mariadbobjectSee values.yamlEnable and configure mariadb database subchart under this key. For more options see mariadb chart documentation
metrics.enabledboolSee values.yamlEnable and configure a Prometheus serviceMonitor for the chart under this key.
metrics.prometheusRuleobjectSee values.yamlEnable and configure Prometheus Rules for the chart under this key.
metrics.prometheusRule.ruleslistSee prometheusrules.yamlConfigure additionial rules for the chart under this key.
metrics.serviceMonitor.intervalstring"1m"
metrics.serviceMonitor.labelsobject{}
metrics.serviceMonitor.scrapeTimeoutstring"30s"
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
persistence.usbobjectSee values.yamlConfigure a hostPathMount to mount a USB device in the container.
postgresqlobjectSee values.yamlEnable and configure postgresql database subchart under this key. For more options see postgresql chart documentation
securityContextobject{"privileged":null}Enable devices to be discoverable hostNetwork: true -- When hostNetwork is true set dnsPolicy to ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
securityContext.privilegedboolnilPrivileged securityContext may be required if USB devics are accessed directly through the host machine
serviceobjectSee values.yamlConfigures service settings for the chart. Normally this does not need to be modified.

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 v2025.3.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