helm-charts/charts/home-assistant/values.yaml

114 lines
2.5 KiB
YAML
Raw Permalink Normal View History

2024-11-11 10:17:25 +00:00
image:
repository: ghcr.io/home-assistant/home-assistant
tag:
controller: # main workload
enabled: true # should the main workload be included or not
type: statefulset # valid options are deployment, statefulset, job
service:
http:
enabled: true
ports:
http:
port: 80
targetPort: 8123
ingress:
enabled: false
service: http # what service should the ingress target
servicePort: 80
className: "nginx"
hosts:
- host: example.local
paths:
- path: /
pathType: Prefix
annotations:
{}
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
volumeClaimTemplates:
- name: config
mountPath: /config
accessMode: "ReadWriteOnce"
2024-11-12 11:41:47 +00:00
storageClassName: "longhorn"
2024-11-11 10:17:25 +00:00
size: 1Gi
livenessProbe:
httpGet:
path: /
port: 8123
initialDelaySeconds: 5
periodSeconds: 3
2024-11-12 11:41:47 +00:00
volumes:
- name: configs
configMap:
name: hass-configs
items:
- key: configuration.yaml
path: configuration.yaml
- key: automations.yaml
path: automations.yaml
- key: scenes.yaml
path: scenes.yaml
- key: scripts.yaml
path: scripts.yaml
- name: secrets
secret:
secretName: hass-secrets
items:
- key: secrets.yaml
path: secrets.yaml
volumeMounts:
- name: configs
mountPath: /config/configuration.yaml
subPath: configuration.yaml
readOnly: true
- name: configs
mountPath: /config/automations.yaml
subPath: automations.yaml
readOnly: true
- name: configs
mountPath: /config/scenes.yaml
subPath: scenes.yaml
readOnly: true
- name: configs
mountPath: /config/scripts.yaml
subPath: scripts.yaml
readOnly: true
- name: secrets
mountPath: /config/secrets.yaml
subPath: secrets.yaml
readOnly: true
hass_configs:
configuration.yaml: |
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
automations.yaml: |
[]
scenes.yaml: |
# scenes
scripts.yaml: |
# scripts
hass_secrets:
secrets.yaml: |
# Use this file to store secrets like usernames and passwords.
# Learn more at https://www.home-assistant.io/docs/configuration/secrets/
some_password: welcome