From f34abebec50b3751707abffc07d7b70d51a229ee Mon Sep 17 00:00:00 2001 From: Ahmed Nasir Date: Mon, 7 Sep 2020 11:59:19 +0500 Subject: [PATCH] [bitnami/thanos] fix thanos ruler alert label drop (#3599) * fix thanos ruler alert label drop With the quotes in place the alert drop doesn't work and the label is included in the data sent to alert manager. * Update Chart.yaml --- bitnami/thanos/Chart.yaml | 2 +- bitnami/thanos/templates/ruler/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index 683a74590..c66ee40f2 100644 --- a/bitnami/thanos/Chart.yaml +++ b/bitnami/thanos/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -version: 2.3.2 +version: 2.3.3 appVersion: 0.14.0 description: Thanos is a highly available metrics system that can be added on top of existing Prometheus deployments, providing a global query view across all Prometheus installations. engine: gotpl diff --git a/bitnami/thanos/templates/ruler/statefulset.yaml b/bitnami/thanos/templates/ruler/statefulset.yaml index 9d03ab9b3..f2ff11bfc 100644 --- a/bitnami/thanos/templates/ruler/statefulset.yaml +++ b/bitnami/thanos/templates/ruler/statefulset.yaml @@ -86,7 +86,7 @@ spec: {{- end }} - --label=replica="$(POD_NAME)" - --label=ruler_cluster="{{ .Values.ruler.clusterName }}" - - --alert.label-drop="replica" + - --alert.label-drop=replica - --objstore.config-file=/conf/objstore/objstore.yml - --rule-file=/conf/rules/ruler.yml {{- range .Values.ruler.queries }}