[bitnami/thanos] Add common annotations to pod templates (#31928)

Signed-off-by: David Gomez <dgomezleon@vmware.com>
This commit is contained in:
David Gomez
2025-02-14 13:25:39 +00:00
committed by GitHub
parent b9cb046d16
commit 11e4087799
12 changed files with 46 additions and 15 deletions
+6 -2
View File
@@ -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))
## <small>15.12.2 (2025-02-07)</small>
* [bitnami/thanos] Release 15.12.2 (#31831) ([bd298e4](https://github.com/bitnami/charts/commit/bd298e442152ae47a719974e87e48dc61705f061)), closes [#31831](https://github.com/bitnami/charts/issues/31831)
## <small>15.12.1 (2025-02-05)</small>
+3 -3
View File
@@ -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"
+1 -1
View File
@@ -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
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}