2021-02-10 10:09:33 +00:00
|
|
|
# Default values for Home Assistant
|
|
|
|
|
|
|
|
image:
|
2021-09-10 20:07:55 +00:00
|
|
|
repository: ghcr.io/truecharts/home-assistant
|
2021-02-10 10:09:33 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2021-10-19 18:25:02 +00:00
|
|
|
tag: v2021.10.6@sha256:d3b2d15cc83cf20ca5ab827f1fd84b78af61d7658ec34820e9c792f5219168ca
|
2021-02-10 10:09:33 +00:00
|
|
|
|
2021-10-13 10:33:41 +00:00
|
|
|
env:
|
|
|
|
PUID: 568
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2021-02-10 10:09:33 +00:00
|
|
|
|
2021-05-19 13:12:45 +00:00
|
|
|
service:
|
2021-03-03 15:51:25 +00:00
|
|
|
main:
|
2021-05-19 13:12:45 +00:00
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8123
|
2021-02-10 10:09:33 +00:00
|
|
|
|
2021-10-13 10:02:40 +00:00
|
|
|
initContainers:
|
2021-10-13 17:35:44 +00:00
|
|
|
init:
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
2021-10-13 10:02:40 +00:00
|
|
|
command: ["/config/init/init.sh"]
|
|
|
|
volumeMounts:
|
|
|
|
- name: init
|
|
|
|
mountPath: /config/init
|
|
|
|
- name: config
|
|
|
|
mountPath: /config
|
|
|
|
|
2021-02-10 10:09:33 +00:00
|
|
|
# # Enable devices to be discoverable
|
|
|
|
# hostNetwork: true
|
|
|
|
|
|
|
|
# # When hostNetwork is true set dnsPolicy to ClusterFirstWithHostNet
|
|
|
|
# dnsPolicy: ClusterFirstWithHostNet
|
|
|
|
|
|
|
|
# Allow access a Git repository by passing in a private SSH key
|
|
|
|
git:
|
|
|
|
# Raw SSH private key
|
|
|
|
deployKey: ""
|
|
|
|
# Base64-encoded SSH private key. When both variables are set, the raw SSH key takes precedence.
|
|
|
|
deployKeyBase64: ""
|
|
|
|
|
|
|
|
# Enable a prometheus-operator servicemonitor
|
|
|
|
prometheus:
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: false
|
|
|
|
# interval: 1m
|
|
|
|
# additionalLabels: {}
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
2021-04-13 19:43:27 +00:00
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2021-08-29 12:02:17 +00:00
|
|
|
type: pvc
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: "100Gi"
|
2021-06-11 11:59:46 +00:00
|
|
|
|
2021-10-13 10:02:40 +00:00
|
|
|
# -- Enable and configure postgresql database subchart under this key.
|
|
|
|
# For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
|
|
|
|
# @default -- See values.yaml
|
2021-02-10 10:09:33 +00:00
|
|
|
postgresql:
|
2021-10-13 10:02:40 +00:00
|
|
|
enabled: true
|
2021-02-10 10:09:33 +00:00
|
|
|
postgresqlUsername: home-assistant
|
|
|
|
postgresqlDatabase: home-assistant
|
2021-10-13 10:02:40 +00:00
|
|
|
existingSecret: "dbcreds"
|
2021-02-10 10:09:33 +00:00
|
|
|
|
|
|
|
# Enable influxdb
|
|
|
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/influxdb
|
|
|
|
influxdb:
|
|
|
|
enabled: false
|
|
|
|
architecture: standalone
|
|
|
|
database: home_assistant
|
|
|
|
authEnabled: false
|
|
|
|
persistence:
|
|
|
|
enabled: false
|
|
|
|
# storageClass: ""
|
|
|
|
# size: 8Gi
|