This commit is contained in:
2026-03-30 18:29:36 +00:00
parent 0f389e13a8
commit 83eb0873d4

View File

@@ -1,3 +1,17 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: home-assistant-configmap
namespace: home-assistant
data:
configuration.yaml: |
http:
use_x_forwarded_for: true
trusted_proxies:
- 10.0.0.0/8
- fd00::/8
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
@@ -35,6 +49,9 @@ spec:
volumeMounts:
- name: config
mountPath: /config
- name: configmap
mountPath: /config/configuration.yaml
subPath: configuration.yaml
env:
- name: TZ
value: Europe/Berlin
@@ -48,6 +65,9 @@ spec:
- name: config
persistentVolumeClaim:
claimName: home-assistant-config
- name: configmap
configMap:
name: home-assistant-configmap
---
apiVersion: v1
kind: Service