From 0dbcd6c6e99984aded5a9b318df229652544f62f Mon Sep 17 00:00:00 2001 From: Ingvarr Zhmakin <19270832+lazyoldbear@users.noreply.github.com> Date: Wed, 13 Jan 2021 15:21:50 +0100 Subject: [PATCH] [zwavejs2mqtt] Safer default values.yaml (#493) Signed-off-by: Ingvarr Zhmakin --- charts/zwavejs2mqtt/Chart.yaml | 2 +- charts/zwavejs2mqtt/values.yaml | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/charts/zwavejs2mqtt/Chart.yaml b/charts/zwavejs2mqtt/Chart.yaml index 579f4c78..8d21774b 100644 --- a/charts/zwavejs2mqtt/Chart.yaml +++ b/charts/zwavejs2mqtt/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.0.0-alpha.2 description: Fully configurable Zwave to MQTT Gateway and Control Panel name: zwavejs2mqtt -version: 1.0.0 +version: 1.1.0 keywords: - zwave - mqtt diff --git a/charts/zwavejs2mqtt/values.yaml b/charts/zwavejs2mqtt/values.yaml index 7d1ffdb4..9fb2c460 100644 --- a/charts/zwavejs2mqtt/values.yaml +++ b/charts/zwavejs2mqtt/values.yaml @@ -1,4 +1,6 @@ # 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 @@ -61,8 +63,9 @@ service: port: port: 8091 -securityContext: - privileged: true +# Privileged may be required if USB controller is accessed directly through the host machine +# securityContext: +# privileged: true persistence: config: @@ -83,15 +86,15 @@ persistence: # existingClaim: "" # Path to your zwave device in the container -additionalVolumeMounts: - - name: usb - mountPath: /dev/serial/by-id/usb-0658_0200-if00 +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 +additionalVolumes: [] +# - name: usb +# hostPath: +# path: /dev/serial/by-id/usb-0658_0200-if00 # affinity: # nodeAffinity: