hassio and drone
This commit is contained in:
@@ -2,6 +2,9 @@ apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: auto
|
||||
annotations:
|
||||
run.oci.keep_original_groups: "1"
|
||||
|
||||
spec:
|
||||
containers:
|
||||
- name: homeassistant
|
||||
@@ -17,11 +20,8 @@ spec:
|
||||
hostIP: 192.168.10.3
|
||||
hostPort: 8300
|
||||
volumeMounts:
|
||||
- name: homeassistant-config
|
||||
- name: homeassistant-config-pvc
|
||||
mountPath: /config
|
||||
- name: pki-certs
|
||||
mountPath: /etc/pki
|
||||
readOnly: true
|
||||
- name: zwave-js
|
||||
image: docker.io/zwavejs/zwave-js-ui:latest
|
||||
ports:
|
||||
@@ -32,17 +32,21 @@ spec:
|
||||
volumeMounts:
|
||||
- name: zwavejs-store
|
||||
mountPath: /usr/src/app/store
|
||||
- name: dev-ttyS2
|
||||
mountPath: /dev/zwave
|
||||
securityContext:
|
||||
capabilities:
|
||||
add: ["SYS_RAWIO"]
|
||||
volumes:
|
||||
- name: homeassistant-config
|
||||
hostPath:
|
||||
path: /etc/homeassistant
|
||||
- name: pki-certs
|
||||
hostPath:
|
||||
path: /etc/pki
|
||||
- name: homeassistant-config-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: homeassistant-config
|
||||
- name: zwavejs-store
|
||||
persistentVolumeClaim:
|
||||
claimName: zwavejs-store # Assuming you have a PVC named `zwavejs-store` for persistent storage
|
||||
- name: dev-ttyS2
|
||||
hostPath:
|
||||
path: /dev/ttyS2
|
||||
type: CharDevice
|
||||
|
||||
restartPolicy: Always
|
||||
|
||||
Reference in New Issue
Block a user