[stable/node-red] add support for extra environment variables (#17207)

* support for extra environment variables

Signed-off-by: y-matsuda <matsuda@lab.acs-jp.com>

* bump up version of stable/node-red

Signed-off-by: y-matsuda <matsuda@lab.acs-jp.com>

* fix typo

Signed-off-by: y-matsuda <matsuda@lab.acs-jp.com>
This commit is contained in:
ichy
2019-09-18 04:05:29 -07:00
committed by Kubernetes Prow Robot
parent f1a2e8b665
commit d55189e5bb
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.20.7
description: Node-RED is flow-based programming for the Internet of Things
name: node-red
version: 1.3.1
version: 1.3.2
keywords:
- nodered
- node-red
+1
View File
@@ -44,6 +44,7 @@ The following tables lists the configurable parameters of the Node-RED chart and
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
| `flows` | Default flows configuration | `flows.json` |
| `nodeOptions` | Node.js runtime arguments | `` |
| `extraEnvs` | Extra environment variables which will be appended to the env | `[]` |
| `timezone` | Default timezone | `UTC` |
| `service.type` | Kubernetes service type for the GUI | `ClusterIP` |
| `service.port` | Kubernetes port where the GUI is exposed | `1880` |
@@ -44,6 +44,9 @@ spec:
value: "{{ .Values.nodeOptions }}"
- name: TZ
value: "{{ .Values.timezone }}"
{{- with .Values.extraEnvs }}
{{ toYaml .Values.extraEnvs | indent 12 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /data
+1
View File
@@ -15,6 +15,7 @@ fullnameOverride: ""
flows: "flows.json"
# nodeOptions: ""
extraEnvs: []
timezone: "UTC"
service: