From cf701595fc771cceaca10eae39f4ca62b4658e42 Mon Sep 17 00:00:00 2001 From: Jeff Billimek Date: Wed, 23 Jan 2019 01:21:50 -0500 Subject: [PATCH] use a default values for the `flows` setting (#10765) details: if the `flows` setting is left unset, node-red will default the files it creates for new flows to match the hostname of the container it's running under. This hostname is dynamic and changes with a pod restart. As a result changes made and persisted will be lost. By defaulting the `flows` value to some static value, we ensure that the changes will persist between pod restarts (assuming using persistent storage) Signed-off-by: Jeff Billimek --- stable/node-red/Chart.yaml | 2 +- stable/node-red/README.md | 2 +- stable/node-red/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/node-red/Chart.yaml b/stable/node-red/Chart.yaml index d581c9d1e6..542095fbc0 100644 --- a/stable/node-red/Chart.yaml +++ b/stable/node-red/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.19.4 description: Node-RED is flow-based programming for the Internet of Things name: node-red -version: 1.0.1 +version: 1.0.2 keywords: - nodered - node-red diff --git a/stable/node-red/README.md b/stable/node-red/README.md index 126a924ca1..d9ad3cfec5 100644 --- a/stable/node-red/README.md +++ b/stable/node-red/README.md @@ -41,7 +41,7 @@ The following tables lists the configurable parameters of the Sentry chart and t | `image.repository` | node-red image | `nodered/node-red-docker` | | `image.tag` | node-red image tag | `0.19.4-v8` | | `image.pullPolicy` | node-red image pull policy | `IfNotPresent` | -| `flows` | Default flows configuration | `` | +| `flows` | Default flows configuration | `flows.json` | | `nodeOptions` | Node.js runtime arguments | `` | | `timezone` | Default timezone | `UTC` | | `service.type` | Kubernetes service type for the GUI | `ClusterIP` | diff --git a/stable/node-red/values.yaml b/stable/node-red/values.yaml index 01cdd6c935..44d0212b2c 100644 --- a/stable/node-red/values.yaml +++ b/stable/node-red/values.yaml @@ -12,7 +12,7 @@ image: nameOverride: "" fullnameOverride: "" -# flows: "" +flows: "flows.json" # nodeOptions: "" timezone: "UTC"