feat: Add Home Assistant Helm chart with PostgreSQL backup support

This commit is contained in:
sha
2026-03-18 12:04:22 +02:00
parent 703f571370
commit f66593fa77
8 changed files with 369 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
{{- range $name, $config := .Values.ingresses }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "home-assistant.fullname" $ }}-{{ $name }}
{{- if $.Values.namespaceOverride }}
namespace: {{ $.Values.namespaceOverride }}
{{- end }}
labels:
{{- include "home-assistant.labels" $ | nindent 4 }}
{{- with $config.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
rules:
- host: {{ $config.host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ include "home-assistant.fullname" $ }}
port:
number: {{ $.Values.service.port }}
{{- with $config.tls }}
tls:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}