Files
auricom-home-cluster/cluster/apps/home-automation/zwavejs2mqtt/helm-release.yaml
2022-09-14 00:37:16 +02:00

74 lines
1.8 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: zwavejs2mqtt
namespace: home-automation
spec:
releaseName: zwavejs2mqtt
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: zwavejs2mqtt
version: 5.4.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: ghcr.io/zwave-js/zwavejs2mqtt
tag: 7.1.0
env:
TZ: "${TIMEZONE}"
securityContext:
privileged: true
service:
main:
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: http
ingress:
main:
enabled: true
ingressClassName: "nginx"
annotations:
nginx.ingress.kubernetes.io/auth-url: "http://authelia.default.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.${SECRET_CLUSTER_DOMAIN}"
hosts:
- host: zwave.${SECRET_CLUSTER_DOMAIN}
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- zwave.${SECRET_CLUSTER_DOMAIN}
persistence:
config:
enabled: true
existingClaim: zwavejs2mqtt-config
mountPath: /usr/src/app/store
usb:
enabled: true
type: hostPath
hostPath: /dev/serial/by-id/usb-0658_0200-if00
hostPathType: CharDevice
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- {
key: "feature.node.kubernetes.io/custom-zwave",
operator: In,
values: ["true"],
}