configuration.yaml
This commit is contained in:
1 parent
e610ce09bb
commit
fa02f2681d
2 files changed
+23
No files matched your search
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: z2m-config
|
||||||
|
data:
|
||||||
|
configuration.yaml: |-
|
||||||
|
permit_join: true
|
||||||
|
# mqtt:
|
||||||
|
# base_topic: zigbee2mqtt
|
||||||
|
# server: mqtt://mqtt
|
||||||
|
serial:
|
||||||
|
port: /dev/ttyUSB0
|
||||||
|
frontend:
|
||||||
|
port: 8080
|
||||||
|
advanced:
|
||||||
|
network_key: GENERATE
|
||||||
@@ -24,6 +24,9 @@ spec:
|
|||||||
- name: data-path
|
- name: data-path
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.persistence.data_path.claimName }}
|
claimName: {{ .Values.persistence.data_path.claimName }}
|
||||||
|
- name: configuration
|
||||||
|
configMap:
|
||||||
|
name: z2m-config
|
||||||
containers:
|
containers:
|
||||||
- name: main
|
- name: main
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
@@ -66,3 +69,6 @@ spec:
|
|||||||
mountPath: /dev/ttyUSB0
|
mountPath: /dev/ttyUSB0
|
||||||
- name: data-path
|
- name: data-path
|
||||||
mountPath: /app/data
|
mountPath: /app/data
|
||||||
|
- name: configuration
|
||||||
|
mountPath: /app/data/configuration.yaml
|
||||||
|
subPath: configuration.yaml
|
||||||
Reference in new issue
Block a user