--- # Source: home-assistant/charts/home-assistant/templates/common.yaml 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-4.4.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: default automountServiceAccountToken: true hostIPC: false hostNetwork: false hostPID: false dnsPolicy: ClusterFirst containers: - env: - name: TZ value: US/Central - name: PUID value: "1000" - name: PGID value: "1000" - name: DEFAULT_WORKSPACE value: /config envFrom: - secretRef: name: home-assistant-code-server-password-secret image: ghcr.io/linuxserver/code-server:4.106.3@sha256:aab9520fe923b2d93dccc2c806f3dc60649c2f4a2847fcd40c942227d0f1ae8f imagePullPolicy: IfNotPresent name: code-server resources: requests: cpu: 10m memory: 128Mi volumeMounts: - mountPath: /config/home-assistant name: config - env: - name: TZ value: US/Central image: ghcr.io/home-assistant/home-assistant:2025.12.0 imagePullPolicy: IfNotPresent name: main resources: requests: cpu: 50m memory: 512Mi volumeMounts: - mountPath: /config name: config volumes: - name: config persistentVolumeClaim: claimName: home-assistant-config