2021-07-01 18:26:22 +00:00
|
|
|
image:
|
|
|
|
# -- image repository
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/ser2sock
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- image tag
|
2021-09-11 11:04:47 +00:00
|
|
|
tag: latest@sha256:379d9338c720da30b63dc4cf2ecea07eb89dac7d62d5c79047294fffe97ae559
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: Always
|
|
|
|
|
|
|
|
# -- environment variables. See [image docs](https://github.com/tenstartups/ser2sock) for more details.
|
|
|
|
# @default -- See below
|
|
|
|
env:
|
|
|
|
# -- Set the container timezone
|
|
|
|
TZ: UTC
|
|
|
|
# -- Port where ser2sock listens
|
|
|
|
LISTENER_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
# -- Path to the serial device
|
|
|
|
SERIAL_DEVICE: "{{ .Values.persistence.usb.mountPath }}"
|
|
|
|
# -- Serial device baud rate
|
|
|
|
BAUD_RATE: 115200
|
|
|
|
|
|
|
|
# -- Configures service settings for the chart.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10000
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 10000
|
2021-07-01 18:26:22 +00:00
|
|
|
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
persistence:
|
2021-11-14 19:19:16 +00:00
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- 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
|