Skip to content

Commit fba38b1

Browse files
Merge pull request #3979 from sringel/ingester-statefulset-labels
[tempo-distributed] add labels to ingester statefulset
2 parents 430b912 + 784e899 commit fba38b1

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

charts/tempo-distributed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo-distributed
33
description: Grafana Tempo in MicroService mode
44
type: application
5-
version: 1.52.5
5+
version: 1.52.6
66
appVersion: 2.9.0
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo-distributed
22

3-
![Version: 1.52.5](https://img.shields.io/badge/Version-1.52.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
3+
![Version: 1.52.6](https://img.shields.io/badge/Version-1.52.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

@@ -603,6 +603,7 @@ The memcached default args are removed and should be provided manually. The sett
603603
| ingester.image.repository | string | `nil` | Docker image repository for the ingester image. Overrides `tempo.image.repository` |
604604
| ingester.image.tag | string | `nil` | Docker image tag for the ingester image. Overrides `tempo.image.tag` |
605605
| ingester.initContainers | list | `[]` | |
606+
| ingester.labels | object | `{}` | Labels for the ingester StatefulSet |
606607
| ingester.nodeSelector | object | `{}` | Node selector for ingester pods |
607608
| ingester.persistence | object | `{"annotations":{},"enabled":false,"inMemory":false,"labels":{},"size":"10Gi","storageClass":null}` | Persistence configuration for ingester |
608609
| ingester.persistence.annotations | object | `{}` | Annotations for ingester's persist volume claim |

charts/tempo-distributed/templates/ingester/_helpers-ingester.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ app.kubernetes.io/part-of: memberlist
8787
app.kubernetes.io/version: {{ .ctx.Chart.AppVersion | quote }}
8888
{{- end }}
8989
app.kubernetes.io/managed-by: {{ .ctx.Release.Service }}
90+
{{- with .ctx.Values.ingester.labels }}
91+
{{ toYaml . }}
92+
{{- end }}
9093
{{- end -}}
9194
{{/*
9295
Resource name template

charts/tempo-distributed/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ rbac:
135135
ingester:
136136
# -- Annotations for the ingester StatefulSet
137137
annotations: {}
138+
# -- Labels for the ingester StatefulSet
139+
labels: {}
138140
# -- Number of replicas for the ingester
139141
replicas: 3
140142
# -- hostAliases to add

0 commit comments

Comments
 (0)