Files
auricom-home-cluster/kubernetes/apps/default/home-assistant/app/helmrelease.yaml
feisar-bot[bot] 4ad6e17104 ⬆️ Update ghcr.io/onedr0p/home-assistant ( 2024.12.3 → 2024.12.5 )
| datasource | package                        | from      | to        |
| ---------- | ------------------------------ | --------- | --------- |
| docker     | ghcr.io/onedr0p/home-assistant | 2024.12.3 | 2024.12.5 |
2024-12-21 23:08:47 +01:00

114 lines
2.9 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app home-assistant
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
uninstall:
keepHistory: false
values:
defaultPodOptions:
securityContext:
runAsUser: 0
runAsGroup: 0
fsGroup: 0
fsGroupChangePolicy: OnRootMismatch
nodeSelector:
nodo.feature.node.kubernetes.io/rflink: "true"
controllers:
home-assistant:
annotations:
reloader.stakater.com/auto: "true"
initContainers:
init-db:
image:
repository: ghcr.io/onedr0p/postgres-init
tag: 16
envFrom: &envFrom
- secretRef:
name: home-assistant-secret
containers:
app:
image:
repository: ghcr.io/onedr0p/home-assistant
tag: 2024.12.5@sha256:638e519c874a06389ce6f03e435dd80a6697e8692eac88b459775839410f3439
env:
TZ: "${TIMEZONE}"
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_DB: home_assistant
envFrom: *envFrom
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
resources:
requests:
cpu: 10m
memory: 128Mi
limits:
memory: 1Gi
securityContext:
privileged: true
service:
app:
controller: *app
type: LoadBalancer
loadBalancerIP: 192.168.169.107
externalTrafficPolicy: Local
ports:
http:
port: 8123
ingress:
app:
enabled: true
className: nginx
annotations:
hajimari.io/icon: mdi:home-assistant
hosts:
- host: &host "hass.${SECRET_EXTERNAL_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /config
usb:
enabled: true
type: hostPath
hostPath: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5503731323735171A241-if00
hostPathType: CharDevice
globalMounts:
- path: /dev/ttyUSB0