mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-26 20:13:31 +02:00
65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: zwave2mqtt
|
|
namespace: home
|
|
spec:
|
|
releaseName: zwave2mqtt
|
|
interval: 5m
|
|
chart:
|
|
spec:
|
|
# renovate: registryUrl=https://k8s-at-home.com/charts/
|
|
chart: zwave2mqtt
|
|
version: 8.0.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: k8s-at-home-charts
|
|
namespace: flux-system
|
|
interval: 5m
|
|
values:
|
|
image:
|
|
repository: robertslando/zwave2mqtt
|
|
tag: 4.1.1
|
|
env:
|
|
TZ: "Europe/Paris"
|
|
OZW_AUTO_UPDATE_CONFIG: true
|
|
securityContext:
|
|
privileged: true
|
|
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: zwave.k3s.xpander.ovh
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- zwave.k3s.xpander.ovh
|
|
service:
|
|
annotations:
|
|
prometheus.io/probe: "true"
|
|
prometheus.io/protocol: http
|
|
additionalVolumeMounts:
|
|
- name: usb
|
|
mountPath: /dev/serial/by-id/usb-0658_0200-if00
|
|
additionalVolumes:
|
|
- name: usb
|
|
hostPath:
|
|
path: /dev/serial/by-id/usb-0658_0200-if00
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- {key: "feature.node.kubernetes.io/custom-zwave", operator: In, values: ["true"]}
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: zwave2mqtt-config
|
|
mountPath: /usr/src/app/store
|