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