hassio and drone
This commit is contained in:
@@ -35,7 +35,7 @@ spec:
|
||||
- name: DRONE_STARLARK_ENABLED
|
||||
value: "true"
|
||||
- name: DRONE_LOGS_DEBUG
|
||||
value: "false"
|
||||
value: "true"
|
||||
- name: DRONE_LOGS_TRACE
|
||||
value: "false"
|
||||
- name: DRONE_USER_CREATE
|
||||
@@ -66,7 +66,7 @@ spec:
|
||||
- name: DRONE_RUNNER_CAPACITY
|
||||
value: "1"
|
||||
- name: DRONE_LOGS_DEBUG
|
||||
value: "false"
|
||||
value: "true"
|
||||
- name: DRONE_LOGS_TRACE
|
||||
value: "false"
|
||||
- name: DRONE_TRACE
|
||||
@@ -98,5 +98,5 @@ spec:
|
||||
type: Directory
|
||||
- name: podman.sock
|
||||
hostPath:
|
||||
path: /run/podman/podman.sock
|
||||
path: /run/user/1005/podman/podman.sock
|
||||
type: File
|
||||
|
||||
@@ -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