2021-02-10 10:09:33 +00:00
|
|
|
# Default values for zwavejs2mqtt.
|
|
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
|
|
# https://github.com/k8s-at-home/charts/tree/master/charts/common
|
|
|
|
|
|
|
|
image:
|
|
|
|
repository: zwavejs/zwavejs2mqtt
|
|
|
|
pullPolicy: IfNotPresent
|
2021-04-10 13:30:07 +00:00
|
|
|
tag: 2.4.1
|
2021-02-10 10:09:33 +00:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
type: Recreate
|
|
|
|
|
2021-04-14 20:24:09 +00:00
|
|
|
podSecurityContext:
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 568
|
|
|
|
runAsGroup: 568
|
|
|
|
fsGroup: 568
|
2021-04-15 19:22:37 +00:00
|
|
|
supplementalGroups: [5, 20, 24]
|
2021-04-14 20:24:09 +00:00
|
|
|
|
2021-02-10 10:09:33 +00:00
|
|
|
# # See more environment variables in the zwavejs2mqtt documentation
|
|
|
|
# https://zwave-js.github.io/zwavejs2mqtt/#/guide/env-vars
|
|
|
|
env: {}
|
|
|
|
# OZW_NETWORK_KEY:
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
# custom: true
|
|
|
|
# spec:
|
|
|
|
# failureThreshold: 5
|
|
|
|
# httpGet:
|
|
|
|
# path: /health
|
|
|
|
# port: http
|
|
|
|
# httpHeaders:
|
|
|
|
# - name: Accept
|
|
|
|
# value: text/plain
|
|
|
|
# initialDelaySeconds: 30
|
|
|
|
# periodSeconds: 10
|
|
|
|
# timeoutSeconds: 10
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
# custom: true
|
|
|
|
# spec:
|
|
|
|
# failureThreshold: 5
|
|
|
|
# httpGet:
|
|
|
|
# path: /health
|
|
|
|
# port: http
|
|
|
|
# httpHeaders:
|
|
|
|
# - name: Accept
|
|
|
|
# value: text/plain
|
|
|
|
# initialDelaySeconds: 30
|
|
|
|
# periodSeconds: 10
|
|
|
|
# timeoutSeconds: 10
|
|
|
|
startup:
|
|
|
|
enabled: false
|
|
|
|
# custom: true
|
|
|
|
# spec:
|
|
|
|
# failureThreshold: 5
|
|
|
|
# httpGet:
|
|
|
|
# path: /health
|
|
|
|
# port: http
|
|
|
|
# httpHeaders:
|
|
|
|
# - name: Accept
|
|
|
|
# value: text/plain
|
|
|
|
# initialDelaySeconds: 30
|
|
|
|
# periodSeconds: 10
|
|
|
|
# timeoutSeconds: 10
|
|
|
|
|
2021-03-03 15:51:25 +00:00
|
|
|
services:
|
|
|
|
main:
|
|
|
|
port:
|
|
|
|
port: 8091
|
|
|
|
ws:
|
|
|
|
enabled: true
|
|
|
|
type: ClusterIP
|
|
|
|
port:
|
|
|
|
port: 3000
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: 3000
|
|
|
|
|
2021-02-10 10:09:33 +00:00
|
|
|
# Privileged may be required if USB controller is accessed directly through the host machine
|
|
|
|
# securityContext:
|
|
|
|
# privileged: true
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
2021-04-13 19:43:27 +00:00
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
|
|
|
emptyDir: true
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: 1Gi
|
|
|
|
storageClass: ""
|
2021-02-10 10:09:33 +00:00
|
|
|
|
|
|
|
# Path to your zwave device in the container
|
|
|
|
additionalVolumeMounts: []
|
|
|
|
# - name: usb
|
|
|
|
# mountPath: /dev/serial/by-id/usb-0658_0200-if00
|
|
|
|
|
|
|
|
# Path to your zwave device on the host
|
|
|
|
additionalVolumes: []
|
|
|
|
# - name: usb
|
|
|
|
# hostPath:
|
|
|
|
# path: /dev/serial/by-id/usb-0658_0200-if00
|
|
|
|
|
|
|
|
# affinity:
|
|
|
|
# nodeAffinity:
|
|
|
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
# nodeSelectorTerms:
|
|
|
|
# - matchExpressions:
|
|
|
|
# - key: app
|
|
|
|
# operator: In
|
|
|
|
# values:
|
|
|
|
# - zwave-controller
|