From 59ea2d192baa01339f6472b16732fc197b716249 Mon Sep 17 00:00:00 2001
From: Antoine Bertin <antoine@bertin.io>
Date: Tue, 21 Sep 2021 17:48:43 +0200
Subject: [PATCH] [zwavejs2mqtt] Add websocket service (#1207)

---
 charts/stable/zwavejs2mqtt/Chart.yaml                 | 2 +-
 charts/stable/zwavejs2mqtt/README.md                  | 8 +++++++-
 charts/stable/zwavejs2mqtt/README_CHANGELOG.md.gotmpl | 6 ++++++
 charts/stable/zwavejs2mqtt/values.yaml                | 3 +++
 4 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/charts/stable/zwavejs2mqtt/Chart.yaml b/charts/stable/zwavejs2mqtt/Chart.yaml
index a4e2b123..15415043 100644
--- a/charts/stable/zwavejs2mqtt/Chart.yaml
+++ b/charts/stable/zwavejs2mqtt/Chart.yaml
@@ -2,7 +2,7 @@ apiVersion: v2
 appVersion: 5.0.2
 description: Fully configurable Zwave to MQTT Gateway and Control Panel
 name: zwavejs2mqtt
-version: 5.0.1
+version: 5.0.2
 kubeVersion: ">=1.16.0-0"
 keywords:
 - zwave
diff --git a/charts/stable/zwavejs2mqtt/README.md b/charts/stable/zwavejs2mqtt/README.md
index fa41e475..7932a1e0 100644
--- a/charts/stable/zwavejs2mqtt/README.md
+++ b/charts/stable/zwavejs2mqtt/README.md
@@ -1,6 +1,6 @@
 # zwavejs2mqtt
 
-![Version: 5.0.1](https://img.shields.io/badge/Version-5.0.1-informational?style=flat-square) ![AppVersion: 5.0.2](https://img.shields.io/badge/AppVersion-5.0.2-informational?style=flat-square)
+![Version: 5.0.2](https://img.shields.io/badge/Version-5.0.2-informational?style=flat-square) ![AppVersion: 5.0.2](https://img.shields.io/badge/AppVersion-5.0.2-informational?style=flat-square)
 
 Fully configurable Zwave to MQTT Gateway and Control Panel
 
@@ -124,6 +124,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).
 
+### [5.0.2]
+
+#### Added
+
+- Support for websocket service
+
 ### [5.0.0]
 
 #### Changed
diff --git a/charts/stable/zwavejs2mqtt/README_CHANGELOG.md.gotmpl b/charts/stable/zwavejs2mqtt/README_CHANGELOG.md.gotmpl
index 26e11b8d..438b169a 100644
--- a/charts/stable/zwavejs2mqtt/README_CHANGELOG.md.gotmpl
+++ b/charts/stable/zwavejs2mqtt/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).
 
+### [5.0.2]
+
+#### Added
+
+- Support for websocket service
+
 ### [5.0.0]
 
 #### Changed
diff --git a/charts/stable/zwavejs2mqtt/values.yaml b/charts/stable/zwavejs2mqtt/values.yaml
index 1cb45deb..938bf1c5 100644
--- a/charts/stable/zwavejs2mqtt/values.yaml
+++ b/charts/stable/zwavejs2mqtt/values.yaml
@@ -28,6 +28,9 @@ service:
     ports:
       http:
         port: 8091
+      websocket:
+        enabled: false
+        port: 3000
 
 ingress:
   # -- Enable and configure ingress settings for the chart under this key.