37 lines
902 B
YAML
37 lines
902 B
YAML
image:
|
|
repository: tccr.io/truecharts/ser2sock
|
|
tag: latest@sha256:230a81ceecd4da4a792e2daa89af02230998fe9edeec1379e49cf799d36ae754
|
|
pullPolicy: Always
|
|
|
|
env:
|
|
LISTENER_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
SERIAL_DEVICE: "{{ .Values.persistence.usb.mountPath }}"
|
|
BAUD_RATE: 115200
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10000
|
|
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:
|
|
enabled: true
|