From 9aea2792320f11913570de2acfa182cc77291dc5 Mon Sep 17 00:00:00 2001 From: granular-ryanbonham <41303664+granular-ryanbonham@users.noreply.github.com> Date: Thu, 2 Jul 2020 18:38:46 -0400 Subject: [PATCH] stable/grafana Grafana statefulset pod labels (#22590) * StatefulSet do not include podLabels. Signed-off-by: Ryan Bonham * Bump Chart Version Signed-off-by: Ryan Bonham Signed-off-by: camelusluo --- stable/grafana/Chart.yaml | 2 +- stable/grafana/templates/statefulset.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/grafana/Chart.yaml b/stable/grafana/Chart.yaml index f9d9edecbe62..172e3bee2ff9 100644 --- a/stable/grafana/Chart.yaml +++ b/stable/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: grafana -version: 5.3.2 +version: 5.3.3 appVersion: 7.0.3 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics. diff --git a/stable/grafana/templates/statefulset.yaml b/stable/grafana/templates/statefulset.yaml index afc26b7c2f54..732dd8e5319a 100644 --- a/stable/grafana/templates/statefulset.yaml +++ b/stable/grafana/templates/statefulset.yaml @@ -20,6 +20,9 @@ spec: metadata: labels: {{- include "grafana.selectorLabels" . | nindent 8 }} +{{- with .Values.podLabels }} +{{ toYaml . | indent 8 }} +{{- end }} annotations: checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/dashboards-json-config: {{ include (print $.Template.BasePath "/dashboards-json-configmap.yaml") . | sha256sum }}