apiVersion: apps/v1 kind: Deployment metadata: name: home-assistant labels: app.kubernetes.io/controller: main app.kubernetes.io/instance: home-assistant app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: home-assistant helm.sh/chart: home-assistant-5.0.0 namespace: home-assistant spec: revisionHistoryLimit: 3 replicas: 1 strategy: type: Recreate selector: matchLabels: app.kubernetes.io/controller: main app.kubernetes.io/name: home-assistant app.kubernetes.io/instance: home-assistant template: metadata: labels: app.kubernetes.io/controller: main app.kubernetes.io/instance: home-assistant app.kubernetes.io/name: home-assistant spec: enableServiceLinks: false serviceAccountName: home-assistant automountServiceAccountToken: false securityContext: fsGroup: 1000 fsGroupChangePolicy: OnRootMismatch hostIPC: false hostNetwork: false hostPID: false dnsPolicy: ClusterFirst containers: - env: - name: TZ value: America/Chicago - name: PUID value: "1000" - name: PGID value: "1000" - name: DEFAULT_WORKSPACE value: /config envFrom: - secretRef: name: home-assistant-code-server-password image: ghcr.io/linuxserver/code-server:4.118.0-ls336@sha256:6e542034343228a692e0b24f12cbcc8ade3650ec1e2c9e195bc291f2bf024e3c name: code-server volumeMounts: - mountPath: /config/home-assistant name: config - env: - name: TZ value: America/Chicago image: ghcr.io/home-assistant/home-assistant:2026.5.0@sha256:8edcb16cff8158e87a3a2b48b3bcca05c30dcea0212eb6a2fe940b6d52ed216a name: main resources: requests: cpu: 1m memory: 400Mi volumeMounts: - mountPath: /config name: config volumes: - name: config persistentVolumeClaim: claimName: home-assistant-config