diff --git a/charts/stable/ser2sock/Chart.yaml b/charts/stable/ser2sock/Chart.yaml index d3c36b98..0d00535e 100644 --- a/charts/stable/ser2sock/Chart.yaml +++ b/charts/stable/ser2sock/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.0.0 description: Serial to Socket Redirector name: ser2sock -version: 4.0.0 +version: 4.0.1 kubeVersion: ">=1.16.0-0" keywords: - ser2sock diff --git a/charts/stable/ser2sock/README.md b/charts/stable/ser2sock/README.md index ea6c787a..7e0923db 100644 --- a/charts/stable/ser2sock/README.md +++ b/charts/stable/ser2sock/README.md @@ -1,6 +1,6 @@ # ser2sock -![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) +![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) Serial to Socket Redirector @@ -109,7 +109,7 @@ affinity: | env | object | See below | environment variables. See [image docs](https://github.com/tenstartups/ser2sock) for more details. | | env.BAUD_RATE | int | `115200` | Serial device baud rate | | env.LISTENER_PORT | string | `"{{ .Values.service.main.ports.server.port }}"` | Port where ser2sock listens | -| env.SERIAL_DEVICE | string | `"{{ .Values.persistence.usb.hostPath }}"` | Path to the serial device | +| env.SERIAL_DEVICE | string | `"{{ .Values.persistence.usb.mountPath }}"` | Path to the serial device | | env.TZ | string | `"UTC"` | Set the container timezone | | image.pullPolicy | string | `"Always"` | image pull policy | | image.repository | string | `"tenstartups/ser2sock"` | image repository | @@ -126,6 +126,12 @@ All notable changes to this application Helm chart will be documented in this fi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [4.0.1] + +#### Fixed + +- Default device path used by ser2sock now points to the device inside the container. + ### [4.0.0] #### Changed @@ -161,6 +167,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A +[4.0.1]: #401 [4.0.0]: #400 [3.0.0]: #300 [1.0.0]: #100 diff --git a/charts/stable/ser2sock/README_CHANGELOG.md.gotmpl b/charts/stable/ser2sock/README_CHANGELOG.md.gotmpl index 428a46d3..b02c1ede 100644 --- a/charts/stable/ser2sock/README_CHANGELOG.md.gotmpl +++ b/charts/stable/ser2sock/README_CHANGELOG.md.gotmpl @@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [4.0.1] + +#### Fixed + +- Default device path used by ser2sock now points to the device inside the container. + ### [4.0.0] #### Changed @@ -44,6 +50,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A +[4.0.1]: #401 [4.0.0]: #400 [3.0.0]: #300 [1.0.0]: #100 diff --git a/charts/stable/ser2sock/values.yaml b/charts/stable/ser2sock/values.yaml index 9e7eb144..ea10476e 100644 --- a/charts/stable/ser2sock/values.yaml +++ b/charts/stable/ser2sock/values.yaml @@ -21,7 +21,7 @@ env: # -- Port where ser2sock listens LISTENER_PORT: "{{ .Values.service.main.ports.server.port }}" # -- Path to the serial device - SERIAL_DEVICE: "{{ .Values.persistence.usb.hostPath }}" + SERIAL_DEVICE: "{{ .Values.persistence.usb.mountPath }}" # -- Serial device baud rate BAUD_RATE: 115200 @@ -51,7 +51,7 @@ persistence: usb: enabled: false type: hostPath - hostPath: /dev/ttyUSB0 + mountPath: /dev/ttyUSB0 securityContext: # -- (bool) Privileged securityContext may be required if USB controller is accessed directly through the host machine