41 lines
914 B
YAML
41 lines
914 B
YAML
---
|
|
kind: Pod
|
|
apiVersion: v1
|
|
metadata:
|
|
name: dconz
|
|
namespace: dconz
|
|
spec:
|
|
containers:
|
|
- name: dconz
|
|
image: marthoc/deconz
|
|
tty: true
|
|
stdin: true
|
|
command: ["/bin/sh"]
|
|
securityContext:
|
|
privileged: true
|
|
env:
|
|
- name: DECONZ_DEVICE
|
|
value: /dev/ttyACM0
|
|
volumeMounts:
|
|
- name: conbee
|
|
mountPath: /dev/ttyACM0
|
|
- name: dconzrc
|
|
mountPath: /root/.local/share/dresden-elektronik/deCONZ
|
|
- name: localtime
|
|
mountPath: /etc/localtime
|
|
readOnly: true
|
|
volumes:
|
|
- name: conbee
|
|
hostPath:
|
|
path: /dev/ttyACM0
|
|
- name: dconzrc
|
|
hostPath:
|
|
path: /home/luke/.local/share/dresden-elektronik/deCONZ
|
|
type: DirectoryOrCreate
|
|
- name: localtime
|
|
hostPath:
|
|
path: /etc/localtime
|
|
restartPolicy: Always
|
|
nodeSelector:
|
|
kubernetes.io/arch: arm64
|