forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathser2sock.yaml
52 lines (52 loc) · 1.28 KB
/
ser2sock.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: ser2sock
namespace: default
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: ser2sock
version: 5.4.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: tenstartups/ser2sock
tag: armhf
imagePullPolicy: Always
env:
TZ: "America/New York"
LISTENER_PORT: 10000
BAUD_RATE: 115200
SERIAL_DEVICE: "/dev/ttyUSB0"
securityContext:
privileged: true
tolerations:
- key: "arm"
operator: "Exists"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- {key: "feature.node.kubernetes.io/custom-alarmdecoder", operator: In, values: ["true"]}
persistence:
usb:
enabled: true
type: hostPath
mountPath: /dev/ttyUSB0
hostPath: /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DO00DPTS-if00-port0
# hostPathType: CharDevice
resources:
requests:
memory: 50Mi
cpu: 15m
limits:
memory: 250Mi