adding pod annotations to node-red chart (#17755)

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek
2019-10-08 01:11:15 -07:00
committed by Kubernetes Prow Robot
parent f4e0467eef
commit c00f7fa914
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.0.1
description: Node-RED is flow-based programming for the Internet of Things
name: node-red
version: 1.3.4
version: 1.3.5
keywords:
- nodered
- node-red
+1
View File
@@ -69,6 +69,7 @@ The following tables lists the configurable parameters of the Node-RED chart and
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
@@ -7,6 +7,12 @@ metadata:
helm.sh/chart: {{ include "node-red.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
replicas: 1
strategy:
+2
View File
@@ -88,3 +88,5 @@ nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}