image:
  repository: tccr.io/truecharts/ser2sock
  tag: latest@sha256:04d80516d8e352b1c8f82c28e130f1bc9af2862925c910fb9014a9b46c3473ae
  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
