mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
adding pod annotations to node-red chart (#17755)
Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f4e0467eef
commit
c00f7fa914
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -88,3 +88,5 @@ nodeSelector: {}
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
Reference in New Issue
Block a user