[prometheus-node-exporter] - add podAnnotations value (#17740)

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>
This commit is contained in:
Alex Williams
2019-12-17 07:53:59 -08:00
committed by Kubernetes Prow Robot
parent 174269c90b
commit 75a0908397
4 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.18.1
description: A Helm chart for prometheus node-exporter
name: prometheus-node-exporter
version: 1.8.0
version: 1.8.1
home: https://github.com/prometheus/node_exporter/
sources:
- https://github.com/prometheus/node_exporter/
@@ -43,6 +43,7 @@ The following table lists the configurable parameters of the Node Exporter chart
| `image.pullPolicy` | Image pull policy | `IfNotPresent` | |
| `extraArgs` | Additional container arguments | `[]` | |
| `extraHostVolumeMounts` | Additional host volume mounts | `[]` | |
| `podAnnotations` | Annotations to be added to node exporter pods | `{}` | |
| `podLabels` | Additional labels to be added to pods | `{}` | |
| `rbac.create` | If true, create & use RBAC resources | `true` | |
| `rbac.pspEnabled` | Specifies whether a PodSecurityPolicy should be created. | `true` | |
@@ -16,6 +16,10 @@ spec:
template:
metadata:
labels: {{ include "prometheus-node-exporter.labels" . | indent 8 }}
{{- if .Values.podAnnotations }}
annotations:
{{- toYaml .Values.podAnnotations | nindent 8 }}
{{- end }}
spec:
{{- if and .Values.rbac.create .Values.serviceAccount.create }}
serviceAccountName: {{ template "prometheus-node-exporter.serviceAccountName" . }}
@@ -73,6 +73,12 @@ affinity: {}
# values:
# - target-host-name
# Annotations to be added to node exporter pods
podAnnotations: {}
# Extra labels to be added to node exporter pods
podLabels: {}
## Assign a nodeSelector if operating a hybrid cluster
##
nodeSelector: {}