Files
auricom-home-cluster/cluster/home/esphome.yaml
2021-04-03 15:29:04 +02:00

51 lines
1.2 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: esphome
namespace: home
spec:
releaseName: esphome
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: esphome
version: 6.0.1
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: esphome/esphome
tag: 1.16.2
env:
TZ: "Europe/Paris"
ESPHOME_DASHBOARD_USE_PING: true
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "http://authelia.auth.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://login.k3s.xpander.ovh/"
hosts:
- host: esphome.k3s.xpander.ovh
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "esphome.k3s.xpander.ovh"
service:
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: http
persistence:
config:
enabled: true
existingClaim: esphome-config