From 1e46b5c7d62abbd0d3b6bafa617a26969828c995 Mon Sep 17 00:00:00 2001 From: Jon Baker Date: Tue, 29 Dec 2020 12:51:59 +1100 Subject: [PATCH] [home-assistant] Update documentation for HA and Ingress (#442) * Update documentation for HA and Ingress Signed-off-by: Jon Baker * Bump chart version Signed-off-by: Jon Baker * Bump chart version Signed-off-by: Jon Baker --- charts/home-assistant/Chart.yaml | 2 +- charts/home-assistant/README.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/charts/home-assistant/Chart.yaml b/charts/home-assistant/Chart.yaml index 193d4a84..87f06a71 100644 --- a/charts/home-assistant/Chart.yaml +++ b/charts/home-assistant/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 2020.12.1 description: Home Assistant name: home-assistant -version: 5.2.1 +version: 5.2.2 keywords: - home-assistant - hass diff --git a/charts/home-assistant/README.md b/charts/home-assistant/README.md index c916c15b..8fd4ff90 100644 --- a/charts/home-assistant/README.md +++ b/charts/home-assistant/README.md @@ -56,6 +56,21 @@ affinity: ... where a node with an attached zwave and/or zigbee controller USB device is labeled with `app: zwave-controller` +### Websockets + +If an ingress controller is being used with home assistant, web sockets must be enabled using annotations to enable support of web sockets. + +Using NGINX as an example the following will need to be added to your values: + +```yaml +ingress: + enabled: true + annotations: + nginx.org/websocket-services: home-assistant +``` + +The value derived is the name of the kubernetes service object for home-assistant + ## Uninstalling the Chart To uninstall/delete the `my-release` deployment: