Files
auricom-home-cluster/kubernetes/apps/default/home-assistant/app/helmrelease.yaml
feisar-bot 8fd6e6c324 ⬆️ Update image ghcr.io/onedr0p/home-assistant to 2023.3.6
| datasource | package                        | from     | to       |
| ---------- | ------------------------------ | -------- | -------- |
| docker     | ghcr.io/onedr0p/home-assistant | 2023.3.5 | 2023.3.6 |
2023-03-27 08:52:51 +02:00

109 lines
2.7 KiB
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app home-assistant
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 1.3.2
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 3
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
image:
repository: ghcr.io/onedr0p/home-assistant
tag: 2023.3.6@sha256:5f61d3fe876824d980c17f9a085a46b97ee838421abe50b43e4a8386292a35ad
env:
TZ: "${TIMEZONE}"
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_DB: home_assistant
envFrom:
- secretRef:
name: *app
service:
main:
type: LoadBalancer
loadBalancerIP: ${CLUSTER_LB_HASS}
externalTrafficPolicy: Local
ports:
http:
port: 8123
ingress:
main:
enabled: true
ingressClassName: "nginx"
annotations:
hajimari.io/icon: mdi:home-assistant
hosts:
- host: &host "hass.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
- host: &host2 "home-assistant.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
- *host2
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
fsGroup: 0
fsGroupChangePolicy: "OnRootMismatch"
securityContext:
privileged: true
podAnnotations:
secret.reloader.stakater.com/reload: *app
persistence:
config:
enabled: true
existingClaim: hass-config
usb:
enabled: true
type: hostPath
hostPath: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5503731323735171A241-if00
hostPathType: CharDevice
mountPath: /dev/ttyUSB0
resources:
requests:
cpu: 10m
memory: 100Mi
limits:
memory: 750Mi
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- {
key: "feature.node.kubernetes.io/custom-rflink",
operator: In,
values: ["true"],
}