Files
local.realm.homeassistant/deployment.yaml
T
2026-07-10 11:52:32 +00:00

48 lines
1.2 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: homeassistant
name: home-assistant
labels:
app: home-assistant
spec:
replicas: 1
selector:
matchLabels:
app: home-assistant
template:
metadata:
labels:
app: home-assistant
spec:
hostNetwork: true # Hast du bereits
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: home-assistant
image: "homeassistant/home-assistant:2026.7.1"
imagePullPolicy: Always
securityContext:
privileged: true
# capabilities:
# add:
# - NET_ADMIN
# - NET_RAW
# - SYS_ADMIN
ports:
- containerPort: 8123
volumeMounts:
- mountPath: /config
name: home-assistant-config-volume
- mountPath: /etc/localtime
name: home-assistant-time-volume
readOnly: true
#hostNetwork: true
volumes:
- name: home-assistant-config-volume
persistentVolumeClaim:
claimName: home-assistant-pvc
- name: home-assistant-time-volume
hostPath:
path: /etc/localtime