From acfb64581031b3e89dd2090f3f6c095e53f9340c Mon Sep 17 00:00:00 2001 From: Mike Splain Date: Tue, 26 Jan 2021 18:01:21 -0500 Subject: [PATCH] [speedtest-prometheus] - add podAnnotations (#517) Signed-off-by: Mike Splain --- charts/speedtest-prometheus/Chart.yaml | 2 +- charts/speedtest-prometheus/templates/deployment.yaml | 4 ++++ charts/speedtest-prometheus/values.yaml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/speedtest-prometheus/Chart.yaml b/charts/speedtest-prometheus/Chart.yaml index 2503df76..4a749ea6 100644 --- a/charts/speedtest-prometheus/Chart.yaml +++ b/charts/speedtest-prometheus/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: speedtest-prometheus description: Prometheus Exporter for the official Speedtest CLI type: application -version: 2.0.0 +version: 2.1.0 appVersion: 1.1.0 keywords: - speedtest diff --git a/charts/speedtest-prometheus/templates/deployment.yaml b/charts/speedtest-prometheus/templates/deployment.yaml index abc3c8cc..b54a05df 100644 --- a/charts/speedtest-prometheus/templates/deployment.yaml +++ b/charts/speedtest-prometheus/templates/deployment.yaml @@ -11,6 +11,10 @@ spec: {{- include "speedtest-prometheus.selectorLabels" . | nindent 6 }} template: metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include "speedtest-prometheus.selectorLabels" . | nindent 8 }} spec: diff --git a/charts/speedtest-prometheus/values.yaml b/charts/speedtest-prometheus/values.yaml index 19ce1e9e..e2db71a8 100644 --- a/charts/speedtest-prometheus/values.yaml +++ b/charts/speedtest-prometheus/values.yaml @@ -46,6 +46,8 @@ tolerations: [] affinity: {} +podAnnotations: {} + serviceMonitor: enabled: false interval: "60m"