From c0b445ee55dc1ea6702875c127239cc2a99562d1 Mon Sep 17 00:00:00 2001 From: Sandeep Mendiratta Date: Sun, 1 Jul 2018 14:30:19 -0500 Subject: [PATCH] added annotations for node-exporter-daemonset (#6387) * added annotations for node-exporter-daemonset * fixed typo for annotation * updated version * typo fix * Bump minor version for new feature --- stable/prometheus/Chart.yaml | 2 +- stable/prometheus/templates/node-exporter-daemonset.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/prometheus/Chart.yaml b/stable/prometheus/Chart.yaml index d72778db73..be0c60eaf6 100755 --- a/stable/prometheus/Chart.yaml +++ b/stable/prometheus/Chart.yaml @@ -1,5 +1,5 @@ name: prometheus -version: 6.7.5 +version: 6.8.0 appVersion: 2.3.1 description: Prometheus is a monitoring system and time series database. home: https://prometheus.io/ diff --git a/stable/prometheus/templates/node-exporter-daemonset.yaml b/stable/prometheus/templates/node-exporter-daemonset.yaml index e577b8bc17..8c2b59f812 100644 --- a/stable/prometheus/templates/node-exporter-daemonset.yaml +++ b/stable/prometheus/templates/node-exporter-daemonset.yaml @@ -2,6 +2,10 @@ apiVersion: extensions/v1beta1 kind: DaemonSet metadata: +{{- if .Values.nodeExporter.deploymentAnnotations }} + annotations: +{{ toYaml .Values.nodeExporter.deploymentAnnotations | indent 4 }} +{{- end }} labels: app: {{ template "prometheus.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version }}