diff --git a/bitnami/thanos/CHANGELOG.md b/bitnami/thanos/CHANGELOG.md index 410052a608..c399a6976d 100644 --- a/bitnami/thanos/CHANGELOG.md +++ b/bitnami/thanos/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 15.12.2 (2025-02-07) +## 15.12.3 (2025-02-14) -* [bitnami/thanos] Release 15.12.2 ([#31831](https://github.com/bitnami/charts/pull/31831)) +* [bitnami/thanos] Add common annotations to pod templates ([#31928](https://github.com/bitnami/charts/pull/31928)) + +## 15.12.2 (2025-02-07) + +* [bitnami/thanos] Release 15.12.2 (#31831) ([bd298e4](https://github.com/bitnami/charts/commit/bd298e442152ae47a719974e87e48dc61705f061)), closes [#31831](https://github.com/bitnami/charts/issues/31831) ## 15.12.1 (2025-02-05) diff --git a/bitnami/thanos/Chart.lock b/bitnami/thanos/Chart.lock index 4c706a3888..2e647a45ed 100644 --- a/bitnami/thanos/Chart.lock +++ b/bitnami/thanos/Chart.lock @@ -1,9 +1,9 @@ dependencies: - name: minio repository: oci://registry-1.docker.io/bitnamicharts - version: 15.0.2 + version: 15.0.3 - name: common repository: oci://registry-1.docker.io/bitnamicharts version: 2.29.1 -digest: sha256:1e3c13d78081a4770859b89fcc321fa51db0d7909b5792e69725e69f04d4b1b3 -generated: "2025-02-07T13:00:34.98844774Z" +digest: sha256:1e8bf7f5c6bafb3e3cb47f4959f0e10d41f53606687081d045fa4bdbe9b3db31 +generated: "2025-02-14T13:23:33.281943+01:00" diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index ceb3f297d9..ca9532a8aa 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.12.2 +version: 15.12.3 diff --git a/bitnami/thanos/templates/bucketweb/deployment.yaml b/bitnami/thanos/templates/bucketweb/deployment.yaml index 130ebb722c..bc144326b4 100644 --- a/bitnami/thanos/templates/bucketweb/deployment.yaml +++ b/bitnami/thanos/templates/bucketweb/deployment.yaml @@ -30,8 +30,11 @@ spec: metadata: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: bucketweb - {{- if or .Values.bucketweb.podAnnotations (include "thanos.createObjstoreSecret" .) }} + {{- if or .Values.commonAnnotations .Values.bucketweb.podAnnotations (include "thanos.createObjstoreSecret" .) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.createObjstoreSecret" .) }} checksum/objstore-configuration: {{ include "thanos.objstoreConfig" . | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/compactor/_pod-template.tpl b/bitnami/thanos/templates/compactor/_pod-template.tpl index a7dbf07e0f..d9db2361c0 100644 --- a/bitnami/thanos/templates/compactor/_pod-template.tpl +++ b/bitnami/thanos/templates/compactor/_pod-template.tpl @@ -13,8 +13,11 @@ metadata: {{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.compactor.podLabels .Values.commonLabels ) "context" . ) }} labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }} app.kubernetes.io/component: compactor - {{- if or .Values.compactor.podAnnotations (include "thanos.createObjstoreSecret" .) }} + {{- if or .Values.commonAnnotations .Values.compactor.podAnnotations (include "thanos.createObjstoreSecret" .) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} {{- if (include "thanos.createObjstoreSecret" .) }} checksum/objstore-configuration: {{ include "thanos.objstoreConfig" . | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/query-frontend/deployment.yaml b/bitnami/thanos/templates/query-frontend/deployment.yaml index 495a49beae..d816da7093 100644 --- a/bitnami/thanos/templates/query-frontend/deployment.yaml +++ b/bitnami/thanos/templates/query-frontend/deployment.yaml @@ -30,8 +30,11 @@ spec: metadata: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: query-frontend - {{- if or .Values.queryFrontend.podAnnotations (include "thanos.queryFrontend.createConfigmap" .) }} + {{- if or .Values.commonAnnotations .Values.queryFrontend.podAnnotations (include "thanos.queryFrontend.createConfigmap" .) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.queryFrontend.createConfigmap" .) }} checksum/query-frontend-configuration: {{ include "thanos.queryFrontendConfigMap" . | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/query/deployment.yaml b/bitnami/thanos/templates/query/deployment.yaml index fe4e42c582..0d72d1eb41 100644 --- a/bitnami/thanos/templates/query/deployment.yaml +++ b/bitnami/thanos/templates/query/deployment.yaml @@ -30,8 +30,11 @@ spec: metadata: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: query - {{- if or .Values.query.podAnnotations (include "thanos.query.createSDConfigmap" .) }} + {{- if or .Values.commonAnnotations .Values.query.podAnnotations (include "thanos.query.createSDConfigmap" .) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.query.createSDConfigmap" .) }} checksum/query-sd-configuration: {{ include "thanos.querySDConfigMap" . | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/receive-distributor/deployment.yaml b/bitnami/thanos/templates/receive-distributor/deployment.yaml index f266efbbf6..cb93e7fe7c 100644 --- a/bitnami/thanos/templates/receive-distributor/deployment.yaml +++ b/bitnami/thanos/templates/receive-distributor/deployment.yaml @@ -30,8 +30,11 @@ spec: metadata: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: receive-distributor - {{- if or .Values.receiveDistributor.podAnnotations (include "thanos.receive.createConfigmap" .) (include "thanos.createObjstoreSecret" .) }} + {{- if or .Values.commonAnnotations .Values.receiveDistributor.podAnnotations (include "thanos.receive.createConfigmap" .) (include "thanos.createObjstoreSecret" .) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.createObjstoreSecret" .) }} checksum/objstore-configuration: {{ include "thanos.objstoreConfig" . | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/receive/statefulset.yaml b/bitnami/thanos/templates/receive/statefulset.yaml index dab24aae7c..6ccd2aa1c1 100644 --- a/bitnami/thanos/templates/receive/statefulset.yaml +++ b/bitnami/thanos/templates/receive/statefulset.yaml @@ -36,8 +36,11 @@ spec: metadata: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: receive - {{- if or .Values.receive.podAnnotations (include "thanos.receive.createConfigmap" $) (include "thanos.createObjstoreSecret" $) }} + {{- if or .Values.commonAnnotations .Values.receive.podAnnotations (include "thanos.receive.createConfigmap" $) (include "thanos.createObjstoreSecret" $) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.createObjstoreSecret" .) }} checksum/objstore-configuration: {{ include "thanos.objstoreConfig" . | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/ruler/statefulset.yaml b/bitnami/thanos/templates/ruler/statefulset.yaml index bd3eb9f69a..ffeeb5fc35 100644 --- a/bitnami/thanos/templates/ruler/statefulset.yaml +++ b/bitnami/thanos/templates/ruler/statefulset.yaml @@ -32,8 +32,11 @@ spec: metadata: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: ruler - {{- if or .Values.ruler.podAnnotations (include "thanos.ruler.createConfigmap" .) (include "thanos.createObjstoreSecret" .) }} + {{- if or .Values.commonAnnotations .Values.ruler.podAnnotations (include "thanos.ruler.createConfigmap" .) (include "thanos.createObjstoreSecret" .) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.createObjstoreSecret" .) }} checksum/objstore-configuration: {{ include "thanos.objstoreConfig" . | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml b/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml index a17628b593..eda03d3d1b 100644 --- a/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml +++ b/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml @@ -55,8 +55,11 @@ spec: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: storegateway shard: {{ $index | quote }} - {{- if or $.Values.storegateway.podAnnotations (include "thanos.storegateway.createConfigmap" $) (include "thanos.createObjstoreSecret" $) }} + {{- if or $.Values.commonAnnotations $.Values.storegateway.podAnnotations (include "thanos.storegateway.createConfigmap" $) (include "thanos.createObjstoreSecret" $) }} annotations: + {{- if $.Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.createObjstoreSecret" $) }} checksum/objstore-configuration: {{ include "thanos.objstoreConfig" $ | sha256sum }} {{- end }} diff --git a/bitnami/thanos/templates/storegateway/statefulset.yaml b/bitnami/thanos/templates/storegateway/statefulset.yaml index e006b8e0bd..ef988bee68 100644 --- a/bitnami/thanos/templates/storegateway/statefulset.yaml +++ b/bitnami/thanos/templates/storegateway/statefulset.yaml @@ -32,8 +32,11 @@ spec: metadata: labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }} app.kubernetes.io/component: storegateway - {{- if or .Values.storegateway.podAnnotations (include "thanos.storegateway.createConfigmap" $) (include "thanos.createObjstoreSecret" $) }} + {{- if or .Values.commonAnnotations .Values.storegateway.podAnnotations (include "thanos.storegateway.createConfigmap" $) (include "thanos.createObjstoreSecret" $) }} annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} {{- if (include "thanos.createObjstoreSecret" .) }} checksum/objstore-configuration: {{ include "thanos.objstoreConfig" . | sha256sum }} {{- end }}