34 lines
877 B
YAML
34 lines
877 B
YAML
image:
|
|
repository: tccr.io/truecharts/ser2sock
|
|
tag: latest@sha256:cd711268236c813f8127ca4cde52c20c0a04be26c4e032fc6fc78806c2bcd210
|
|
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
|