57a00ff84d
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [koenkk/zigbee2mqtt](https://redirect.github.com/Koenkk/zigbee2mqtt) | patch | `1.40.0` -> `1.40.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Koenkk/zigbee2mqtt (koenkk/zigbee2mqtt)</summary> ### [`v1.40.1`](https://redirect.github.com/Koenkk/zigbee2mqtt/blob/HEAD/CHANGELOG.md#1401-2024-09-07) [Compare Source](https://redirect.github.com/Koenkk/zigbee2mqtt/compare/1.40.0...1.40.1) ##### Bug Fixes - Fix `Cannot read properties of undefined (reading 'some')` [https://github.com/Koenkk/zigbee2mqtt/issues/23821](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23821) ([557b17a](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/557b17ad5b6dc375e361fb3ec5a84134be761a00)) - **ignore:** update dependencies ([#​23790](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23790)) ([b7fa722](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/b7fa7221093656cee3c908aa1c0e45e350aa43c9)) - **ignore:** update zigbee-herdsman to 0.57.2 ([#​23872](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23872)) ([5524e88](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/5524e881e6458afac2c5ae712bc6d0a1090e7115)) - **ignore:** update zigbee-herdsman to 0.57.3 ([#​23877](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23877)) ([0d46354](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/0d46354c485ba5c644af8d933b1689468b3a058c)) - **ignore:** update zigbee-herdsman-converters to 20.11.0 ([#​23837](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23837)) ([a33c29f](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/a33c29f10af5fc423ff9668af59826a37d9784bf)) - **ignore:** update zigbee-herdsman-converters to 20.12.1 ([#​23884](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23884)) ([9283c4b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/9283c4b4973e9e7309081a9444427c87f9309f91)) - **ignore:** update zigbee-herdsman-converters to 20.9.0 ([#​23822](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23822)) ([6dade8b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/6dade8b11faa13096191f9774a7a1dd320af6bde)) - Log stack trace when update check fails [https://github.com/Koenkk/zigbee2mqtt/discussions/23798](https://redirect.github.com/Koenkk/zigbee2mqtt/discussions/23798) ([13a108d](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/13a108ddbc8f33d1cb23b92e2c67854fbd2dc338)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43MS4wIiwidXBkYXRlZEluVmVyIjoiMzguNzEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJ1cGRhdGUvZG9ja2VyL2dlbmVyYWwvbm9uLW1ham9yIl19-->
93 lines
4.7 KiB
YAML
93 lines
4.7 KiB
YAML
image:
|
|
repository: koenkk/zigbee2mqtt
|
|
tag: 1.40.1@sha256:8127ec2b6e5370eb83033e9cd7250a72bc418b4ead722eadb17c664bebd8b829
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10103
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
targetSelectAll: true
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
initContainers:
|
|
init-config:
|
|
enabled: true
|
|
imageSelector: image
|
|
type: init
|
|
env:
|
|
ZIGBEE2MQTT_CONFIG_FRONTEND_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
ZIGBEE2MQTT_CONFIG_PERMIT_JOIN: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_PERMIT_JOIN }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_SERVER: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_MQTT_SERVER }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_USER: "{{ .Values.secret.ZIGBEE2MQTT_CONFIG_MQTT_USER }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD: "{{ .Values.secret.ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC }}"
|
|
ZIGBEE2MQTT_CONFIG_SERIAL_PORT: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_SERIAL_PORT }}"
|
|
ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER }}"
|
|
USE_CUSTOM_CONFIG_FILE: "{{ .Values.workload.main.podSpec.containers.main.env.USE_CUSTOM_CONFIG_FILE }}"
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
args:
|
|
- >
|
|
if [ -f /data/configuration.yaml ] || [ ${USE_CUSTOM_CONFIG_FILE} == true ]; then
|
|
echo "Initial configuration exists or User selected to use custom configuration file. Skipping...";
|
|
else
|
|
echo "Creating initial configuration";
|
|
touch /data/configuration.yaml;
|
|
echo "# Configuration bellow will be always be overridden" >> /data/configuration.yaml;
|
|
echo "# from environment settings on the Scale Apps UI." >> /data/configuration.yaml;
|
|
echo "# You however will not see this values change in the file." >> /data/configuration.yaml;
|
|
echo "# It's a generated file based on the values provided on initial install." >> /data/configuration.yaml;
|
|
echo "##########################################################" >> /data/configuration.yaml;
|
|
echo "frontend:" >> /data/configuration.yaml;
|
|
echo " port: $ZIGBEE2MQTT_CONFIG_FRONTEND_PORT" >> /data/configuration.yaml;
|
|
echo "permit_join: $ZIGBEE2MQTT_CONFIG_PERMIT_JOIN" >> /data/configuration.yaml;
|
|
echo "mqtt:" >> /data/configuration.yaml;
|
|
echo " server: $ZIGBEE2MQTT_CONFIG_MQTT_SERVER" >> /data/configuration.yaml;
|
|
echo " base_topic: $ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC" >> /data/configuration.yaml;
|
|
if [ ! -z "$ZIGBEE2MQTT_CONFIG_MQTT_USER" ];
|
|
then
|
|
echo " user: $ZIGBEE2MQTT_CONFIG_MQTT_USER" >> /data/configuration.yaml;
|
|
fi;
|
|
if [ ! -z "$ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD" ];
|
|
then
|
|
echo " password: $ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD" >> /data/configuration.yaml;
|
|
fi;
|
|
echo "serial:" >> /data/configuration.yaml;
|
|
echo " port: $ZIGBEE2MQTT_CONFIG_SERIAL_PORT" >> /data/configuration.yaml;
|
|
echo " adapter: $ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER" >> /data/configuration.yaml;
|
|
echo "##########################################################" >> /data/configuration.yaml;
|
|
echo 'Initial configuration file created at "/data/configuration.yaml"';
|
|
fi;
|
|
|
|
containers:
|
|
main:
|
|
env:
|
|
ZIGBEE2MQTT_DATA: "/data"
|
|
ZIGBEE2MQTT_CONFIG_FRONTEND_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
# User defined
|
|
USE_CUSTOM_CONFIG_FILE: false
|
|
# This values are required for the autogenerated file to work.
|
|
# ZIGBEE2MQTT_CONFIG_PERMIT_JOIN: false
|
|
# ZIGBEE2MQTT_CONFIG_MQTT_SERVER: "mqtt://localhost"
|
|
# ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC: "zigbee2mqtt"
|
|
# ZIGBEE2MQTT_CONFIG_SERIAL_PORT: "/dev/ttyUSB0"
|
|
# ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER: "auto"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_USER: ""
|
|
ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD: ""
|