diff --git a/charts/node-red/Chart.yaml b/charts/node-red/Chart.yaml index 143f16af..301432b0 100644 --- a/charts/node-red/Chart.yaml +++ b/charts/node-red/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.0.6-12 description: Node-RED is low-code programming for event-driven applications name: node-red -version: 3.0.0 +version: 3.1.0 keywords: - nodered - node-red diff --git a/charts/node-red/README.md b/charts/node-red/README.md index 13720951..5b1e6064 100644 --- a/charts/node-red/README.md +++ b/charts/node-red/README.md @@ -42,6 +42,7 @@ The following tables lists the configurable parameters of the Node-RED chart and | `image.tag` | node-red image tag | `1.0.6-12-minimal` | | `image.pullPolicy` | node-red image pull policy | `IfNotPresent` | | `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` | +| `serviceAccountName` | Service account to run the pod as | `` | | `livenessProbePath` | Default livenessProbe path | `/` | | `readinessProbePath` | Default readinessProbe path | `/` | | `flows` | Default flows configuration | `flows.json` | diff --git a/charts/node-red/templates/deployment.yaml b/charts/node-red/templates/deployment.yaml index d1e477da..6e094ab0 100644 --- a/charts/node-red/templates/deployment.yaml +++ b/charts/node-red/templates/deployment.yaml @@ -33,6 +33,9 @@ spec: {{- end }} {{- end }} spec: + {{- if .Values.serviceAccountName }} + serviceAccountName: {{ .Values.serviceAccountName }} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" diff --git a/charts/node-red/values.yaml b/charts/node-red/values.yaml index ca1aacf8..e98468c8 100644 --- a/charts/node-red/values.yaml +++ b/charts/node-red/values.yaml @@ -13,6 +13,8 @@ image: nameOverride: "" fullnameOverride: "" +serviceAccountName: "" + livenessProbePath: / readinessProbePath: /