mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[prometheus-node-exporter] - add podAnnotations value (#17740)
Signed-off-by: Alex Williams <alex.williams@skyscanner.net>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
174269c90b
commit
75a0908397
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user