feat(homeassistant): added http-config prototype

This commit is contained in:
jklein committed 2026-03-03 22:12:09 +01:00
1 parent 633166f29f
commit f885fb208a
4 files changed
+34 -1

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ name: homeassistant
description: A Helm chart to deploy Home Assistant on Kubernetes
type: application
version: 1.0.4-release-2026-2-3
version: 1.1.0-release-2026-2-3
appVersion: "2026.2.3"
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-core-config
data:
config.yaml: |-
http: !include http-config.yaml
http-config.yaml: "{{ .Values.homeassistant.config.httpConfig }}"
@@ -34,5 +34,25 @@ spec:
cpu: {{ .Values.resources.requests.cpu }}
memory: {{ .Values.resources.requests.memory }}
# TODO: volume mounts
volumeMounts:
- mountPath: /config.yaml
subPath: config.yaml
name: core-config
- mountPath: /http-config.yaml
subPath: http-config.yaml
name: http-config
# TODO: volumes
volumes:
- name: core-config
configMap:
name: {{ .Release.Name }}-{{ .Chart.Name }}-core-config
items:
- key: config.yaml
path: config.yaml
- name: http-config
configMap:
name: {{ .Release.Name }}-{{ .Chart.Name }}-core-config
items:
- key: http-config.yaml
path: http-config.yaml
# TODO: bind to local nodes
+4
View File
@@ -58,3 +58,7 @@ nodeSelector: {}
tolerations: []
affinity: {}
homeassistant:
config:
httpConfig: null