Files
infrastructure/clusters/cl01tl/helm/home-assistant/values.yaml
Renovate Bot 4507e3594a
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 29s
lint-test-helm / validate-kubeconform (pull_request) Successful in 15s
render-manifests / render-manifests (pull_request) Successful in 50s
chore(deps): update code-server
2026-04-02 19:05:14 +00:00

131 lines
3.4 KiB
YAML

home-assistant:
controllers:
main:
type: deployment
replicas: 1
strategy: Recreate
pod:
securityContext:
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
containers:
main:
image:
repository: ghcr.io/home-assistant/home-assistant
tag: 2026.4.0@sha256:7fbf6a5e006e889d7799476ad7646bd18e9dc73e8a4ccd9326b41798de6bb3bf
env:
- name: TZ
value: America/Chicago
resources:
requests:
cpu: 1m
memory: 400Mi
code-server:
image:
repository: ghcr.io/linuxserver/code-server
tag: 4.113.0-ls326@sha256:629232bdd99640dd3d514a40c740a9d42dcb808a844005821b2f4be6e6a8b66e
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-secret
service:
main:
controller: main
ports:
http:
port: 80
targetPort: 8123
code-server:
controller: main
ports:
http:
port: 8443
targetPort: 8443
serviceMonitor:
main:
selector:
matchLabels:
app.kubernetes.io/name: home-assistant
app.kubernetes.io/instance: home-assistant
app.kubernetes.io/service: home-assistant-main
serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}'
endpoints:
- port: http
interval: 3m
scrapeTimeout: 1m
path: /api/prometheus
bearerTokenSecret:
name: home-assistant-token-secret
key: bearer-token
route:
main:
kind: HTTPRoute
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- home-assistant.alexlebens.net
rules:
- backendRefs:
- name: home-assistant-main
port: 80
matches:
- path:
type: PathPrefix
value: /
code-server:
kind: HTTPRoute
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- home-assistant-code-server.alexlebens.net
rules:
- backendRefs:
- name: home-assistant-code-server
port: 8443
matches:
- path:
type: PathPrefix
value: /
persistence:
config:
forceRename: home-assistant-config
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 5Gi
advancedMounts:
main:
main:
- path: /config
readOnly: false
code-server:
- path: /config/home-assistant
readOnly: false
volsync-target-config:
pvcTarget: home-assistant-config
moverSecurityContext:
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
local:
enabled: true
schedule: 22 8 * * *
remote:
enabled: true
schedule: 22 9 * * *
external:
enabled: true
schedule: 22 10 * * *