mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-26 20:13:31 +02:00
feat: ser2sock
This commit is contained in:
@@ -5,5 +5,6 @@ resources:
|
||||
- emqx
|
||||
- frigate
|
||||
- home-assistant
|
||||
- ser2sock
|
||||
- zigbee2mqtt
|
||||
- zwavejs2mqtt
|
||||
|
54
cluster/apps/home-automation/ser2sock/helm-release.yaml
Normal file
54
cluster/apps/home-automation/ser2sock/helm-release.yaml
Normal file
@@ -0,0 +1,54 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: ser2sock
|
||||
namespace: home-automation
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
# renovate: registryUrl=https://k8s-at-home.com/charts/
|
||||
chart: ser2sock
|
||||
version: 5.0.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: k8s-at-home-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
image:
|
||||
repository: tenstartups/ser2sock
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
env:
|
||||
TZ: "Europe/Paris"
|
||||
LISTENER_PORT: 10000
|
||||
BAUD_RATE: 57600
|
||||
SERIAL_DEVICE: "/dev/ttyUSB0"
|
||||
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
persistence:
|
||||
usb:
|
||||
enabled: true
|
||||
type: hostPath
|
||||
# hostPathType: CharDevice
|
||||
hostPath: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5503731323735191C111-if00
|
||||
mountPath: /dev/ttyUSB0
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: 50Mi
|
||||
cpu: 15m
|
||||
limits:
|
||||
memory: 250Mi
|
||||
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- { key: "feature.node.kubernetes.io/custom-rflink", operator: In, values: ["true"] }
|
5
cluster/apps/home-automation/ser2sock/kustomization.yaml
Normal file
5
cluster/apps/home-automation/ser2sock/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
Reference in New Issue
Block a user