feat(homeassistant): added http-config prototype
This commit is contained in:
4 files changed
+34
-1
No files matched your search
@@ -3,7 +3,7 @@ name: homeassistant
|
|||||||
description: A Helm chart to deploy Home Assistant on Kubernetes
|
description: A Helm chart to deploy Home Assistant on Kubernetes
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
version: 1.0.4-release-2026-2-3
|
version: 1.1.0-release-2026-2-3
|
||||||
|
|
||||||
appVersion: "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 }}
|
cpu: {{ .Values.resources.requests.cpu }}
|
||||||
memory: {{ .Values.resources.requests.memory }}
|
memory: {{ .Values.resources.requests.memory }}
|
||||||
# TODO: volume mounts
|
# 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
|
# 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
|
# TODO: bind to local nodes
|
||||||
@@ -58,3 +58,7 @@ nodeSelector: {}
|
|||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
homeassistant:
|
||||||
|
config:
|
||||||
|
httpConfig: null
|
||||||
Reference in new issue
Block a user