41 lines
995 B
YAML
41 lines
995 B
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/ser2sock
|
||
|
tag: latest@sha256:230a81ceecd4da4a792e2daa89af02230998fe9edeec1379e49cf799d36ae754
|
||
|
pullPolicy: Always
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10000
|
||
|
protocol: tcp
|
||
|
targetPort: 10000
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: "/config"
|
||
|
# -- Affinity constraint rules to place the Pod on a specific node.
|
||
|
# [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
|
||
|
affinity: {}
|
||
|
# nodeAffinity:
|
||
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
||
|
# nodeSelectorTerms:
|
||
|
# - matchExpressions:
|
||
|
# - key: app
|
||
|
# operator: In
|
||
|
# values:
|
||
|
# - ser2sock-controller
|
||
|
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|
||
|
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
env:
|
||
|
LISTENER_PORT: "{{ .Values.service.main.ports.main.port }}"
|
||
|
SERIAL_DEVICE: ""
|
||
|
BAUD_RATE: 115200
|