Additional Changes
This commit is contained in:
1 parent
f12cbfc941
commit
d2cb8626b2
3 files changed
+11
-7
No files matched your search
@@ -15,8 +15,10 @@ data:
|
||||
user: "{{.Values.global.mqtt.username}}"
|
||||
password: "{{.Values.global.mqtt.password}}"
|
||||
serial:
|
||||
port: "/dev/ttyUSB0"
|
||||
port: "{{ .Values.devicePath }}"
|
||||
frontend:
|
||||
port: "8080"
|
||||
advanced:
|
||||
network_key: "GENERATE"
|
||||
network_key: "GENERATE"
|
||||
devices: /data/devices.yaml
|
||||
groups: /data/groups.yaml
|
||||
@@ -4,9 +4,9 @@ metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
revisionHistoryLimit: 2
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
{{ .Release.Name }}/app: z2m
|
||||
@@ -62,14 +62,16 @@ spec:
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .Values.global.timezone }}"
|
||||
- name: "ZIGBEE2MQTT_DATA"
|
||||
value: "/data"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: zigbee-stick
|
||||
mountPath: /dev/ttyUSB0
|
||||
mountPath: "{{ .Values.devicePath }}"
|
||||
- name: data-path
|
||||
mountPath: /app/data
|
||||
mountPath: /data
|
||||
- name: configuration
|
||||
mountPath: /app/configuration.yaml
|
||||
subPath: configuration.yaml
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
image: "koenkk/zigbee2mqtt"
|
||||
tag: "latest"
|
||||
tag: "latest-dev"
|
||||
|
||||
flags:
|
||||
enableNodePort: false
|
||||
|
||||
Reference in new issue
Block a user