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 <jeff@billimek.com>
This commit is contained in:
Jeff Billimek
2019-01-22 22:21:50 -08:00
committed by Kubernetes Prow Robot
parent e135c03e29
commit cf701595fc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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` |
+1 -1
View File
@@ -12,7 +12,7 @@ image:
nameOverride: ""
fullnameOverride: ""
# flows: ""
flows: "flows.json"
# nodeOptions: ""
timezone: "UTC"