From 162d466ef79df488b418ec184952e04615ed8ec6 Mon Sep 17 00:00:00 2001 From: Alec Rajeev <13004609+alecrajeev@users.noreply.github.com> Date: Mon, 10 Jun 2024 07:13:35 -0400 Subject: [PATCH] [bitnami/thanos] add service monitor labels (#26880) * [bitnami/thanos] add service monitor labels Signed-off-by: Alec Rajeev <13004609+alecrajeev@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers * Update CHANGELOG.md Signed-off-by: Bitnami Containers * Update CHANGELOG.md Signed-off-by: Bitnami Containers --------- Signed-off-by: Alec Rajeev <13004609+alecrajeev@users.noreply.github.com> Signed-off-by: Bitnami Containers Signed-off-by: Alejandro Moreno Co-authored-by: Bitnami Containers Co-authored-by: Alejandro Moreno --- bitnami/thanos/CHANGELOG.md | 8 ++++++-- bitnami/thanos/Chart.yaml | 2 +- bitnami/thanos/templates/receive/service-headless.yaml | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bitnami/thanos/CHANGELOG.md b/bitnami/thanos/CHANGELOG.md index b03665e1fa..48a7b4547f 100644 --- a/bitnami/thanos/CHANGELOG.md +++ b/bitnami/thanos/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 15.7.2 (2024-06-06) +## 15.7.3 (2024-06-10) -* [bitnami/thanos] Release 15.7.2 ([#27020](https://github.com/bitnami/charts/pull/27020)) +* [bitnami/thanos] add service monitor labels ([#26880](https://github.com/bitnami/charts/pull/26880)) + +## 15.7.2 (2024-06-06) + +* [bitnami/thanos] Release 15.7.2 (#27020) ([63e189e](https://github.com/bitnami/charts/commit/63e189e67eca6e03ddeac7957c11f008f2676f91)), closes [#27020](https://github.com/bitnami/charts/issues/27020) ## 15.7.1 (2024-06-05) diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index 1885260f22..4b57ddeb87 100644 --- a/bitnami/thanos/Chart.yaml +++ b/bitnami/thanos/Chart.yaml @@ -35,4 +35,4 @@ maintainers: name: thanos sources: - https://github.com/bitnami/charts/tree/main/bitnami/thanos -version: 15.7.2 +version: 15.7.3 diff --git a/bitnami/thanos/templates/receive/service-headless.yaml b/bitnami/thanos/templates/receive/service-headless.yaml index 248da3a166..1b159e9dcc 100644 --- a/bitnami/thanos/templates/receive/service-headless.yaml +++ b/bitnami/thanos/templates/receive/service-headless.yaml @@ -11,6 +11,7 @@ metadata: namespace: {{ include "common.names.namespace" . }} labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} app.kubernetes.io/component: receive + {{- include "thanos.servicemonitor.matchLabels" . | nindent 4 -}} {{- if or .Values.receive.service.headless.annotations .Values.commonAnnotations }} {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.receive.service.headless.annotations .Values.commonAnnotations ) "context" . ) }} annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}