fixed yaml
This commit is contained in:
1 parent
da2489a4cc
commit
e3f55cc4c2
3 files changed
+42
-38
No files matched your search
@@ -60,10 +60,10 @@ spec:
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 5
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .Values.global.timezone }}"
|
||||
- name: "ZIGBEE2MQTT_DATA"
|
||||
value: "/data"
|
||||
- name: TZ
|
||||
value: "{{ .Values.global.timezone }}"
|
||||
- name: "ZIGBEE2MQTT_DATA"
|
||||
value: "/data"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -18,41 +19,41 @@ spec:
|
||||
affinity:
|
||||
{{- .Values.affinity | toYaml | nindent 12}}
|
||||
containers:
|
||||
- name: ser2sock
|
||||
image: lansible/ser2sock:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
readOnlyRootFilesystem: true
|
||||
ports:
|
||||
- containerPort: 10000
|
||||
name: zigbee
|
||||
volumeMounts:
|
||||
- name: ser2sock-config
|
||||
mountPath: /config
|
||||
- name: zigbee-usb
|
||||
mountPath: /dev/ttyACM0
|
||||
- name: ser2sock
|
||||
image: lansible/ser2sock:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
readOnlyRootFilesystem: true
|
||||
ports:
|
||||
- containerPort: 10000
|
||||
name: zigbee
|
||||
volumeMounts:
|
||||
- name: ser2sock-config
|
||||
mountPath: /config
|
||||
- name: zigbee-usb
|
||||
mountPath: /dev/ttyACM0
|
||||
volumes:
|
||||
- name: ser2sock-config
|
||||
configMap:
|
||||
name: ser2sock-config
|
||||
- name: zigbee-usb
|
||||
hostPath:
|
||||
path: "{{ .Values.devicePath }}"
|
||||
type: CharDevice
|
||||
- name: ser2sock-config
|
||||
configMap:
|
||||
name: ser2sock-config
|
||||
- name: zigbee-usb
|
||||
hostPath:
|
||||
path: "{{ .Values.devicePath }}"
|
||||
type: CharDevice
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: ser2sock-config
|
||||
labels:
|
||||
app: ser2sock
|
||||
data:
|
||||
ser2sock.conf: |
|
||||
[ser2sock]
|
||||
device = /dev/ttyACM0
|
||||
baudrate = 115200
|
||||
port = 10000
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: ser2sock-config
|
||||
labels:
|
||||
app: ser2sock
|
||||
data:
|
||||
ser2sock.conf: |
|
||||
[ser2sock]
|
||||
device = /dev/ttyACM0
|
||||
baudrate = 115200
|
||||
port = 10000
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
image: "koenkk/zigbee2mqtt"
|
||||
tag: "latest-dev"
|
||||
|
||||
global:
|
||||
timezone: changeme
|
||||
mqtt:
|
||||
host: ""
|
||||
flags:
|
||||
enableNodePort: false
|
||||
|
||||
|
||||
Reference in new issue
Block a user