feat: add k8s manifests and gitops sync workflow for smart-home
Sync Smart Home Manifests to GitOps / Sync Manifests to GitOps Repo (push) Successful in 3s

This commit is contained in:
2026-10-17 17:00:28 +02:00
parent 2b4183bfd9
commit 2ca8b6486b
6 changed files with 182 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: homeassistant
namespace: smart-home
labels:
app.kubernetes.io/name: homeassistant
app.kubernetes.io/part-of: smart-home
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: homeassistant
template:
metadata:
labels:
app: homeassistant
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
nodeSelector:
kubernetes.io/hostname: vmserver
containers:
- name: homeassistant
image: ghcr.io/home-assistant/home-assistant:2026.9.4
env:
- name: TZ
value: "Europe/Amsterdam"
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: 2000m
memory: 4Gi
volumeMounts:
- name: config
mountPath: /config
livenessProbe:
httpGet:
path: /manifest.json
port: 8123
initialDelaySeconds: 60
periodSeconds: 20
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /manifest.json
port: 8123
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
volumes:
- name: config
persistentVolumeClaim:
claimName: homeassistant-config