fix(zigbee2mqtt): Expose gui option to set usbdevice path (#2213)
* fix(zigbee2mqtt): Don't put `serial` into config file, so app can start * try installing * test bad config * test ci * no bad config * whoops * test * hp * place config into data * rofs * try * root * ro * revert to app * test * add gui option * test rootless * dont install * more gui options * root
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
image:
|
||||
# -- image repository
|
||||
repository: tccr.io/truecharts/zigbee2mqtt
|
||||
# -- image tag
|
||||
tag: v1.24.0@sha256:2574cbd6af36d0305c8034804e2c64f672757133d71b14f87f36913a9b97e754
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# -- environment variables. See [image docs](https://www.zigbee2mqtt.io/information/configuration.html#override-via-environment-variables) for more details.
|
||||
# @default -- See below
|
||||
env:
|
||||
# -- Set the data folder for Zigbee2MQTT.
|
||||
ZIGBEE2MQTT_DATA: /data
|
||||
ZIGBEE2MQTT_DATA: "/data"
|
||||
ZIGBEE2MQTT_CONFIG_SERIAL_PORT: "/dev/ttyACM0"
|
||||
ZIGBEE2MQTT_CONFIG_MQTT_SERVER: "mqtt://localhost"
|
||||
ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC: "zigbee2mqtt"
|
||||
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
# -- Configures service settings for the chart. Normally this does not need to be modified.
|
||||
# @default -- See values.yaml
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
@@ -21,8 +23,6 @@ service:
|
||||
port: 10103
|
||||
targetPort: 8080
|
||||
|
||||
# -- Configure persistence settings for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
@@ -47,9 +47,9 @@ config:
|
||||
# MQTT settings
|
||||
mqtt:
|
||||
# MQTT base topic for zigbee2mqtt MQTT messages
|
||||
base_topic: zigbee2mqtt
|
||||
base_topic: "{{ .Values.env.ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC }}"
|
||||
# MQTT server URL
|
||||
server: "mqtt://localhost"
|
||||
server: "{{ .Values.env.ZIGBEE2MQTT_CONFIG_MQTT_SERVER }}"
|
||||
# MQTT server authentication, uncomment if required:
|
||||
# user: my_user
|
||||
# password: my_password
|
||||
@@ -63,8 +63,7 @@ config:
|
||||
# USB / Serial settings
|
||||
serial:
|
||||
# Location of your zigbee device
|
||||
# port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2400981-if00
|
||||
|
||||
port: "{{ .Values.env.ZIGBEE2MQTT_CONFIG_SERIAL_PORT }}"
|
||||
# Optional: adapter type, not needed unless you are experiencing problems (options: zstack, deconz)
|
||||
# adapter: deconz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user