Skip to content

Commit

Permalink
[tempo] Add commonLabels (grafana#3319)
Browse files Browse the repository at this point in the history
Signed-off-by: fabio trigari <[email protected]>
  • Loading branch information
ftrigari committed Nov 1, 2024
1 parent 1102acd commit e6d8d64
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tempo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo
description: Grafana Tempo Single Binary Mode
type: application
version: 1.10.3
version: 1.10.1
appVersion: 2.5.0
engine: gotpl
home: https://grafana.net
Expand Down
1 change: 1 addition & 0 deletions charts/tempo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Grafana Tempo Single Binary Mode
| extraLabels | object | `{}` | |
| extraVolumes | list | `[]` | Volumes to add |
| fullnameOverride | string | `""` | Overrides the chart's computed fullname |
| global.commonLabels | object | `{}` | Common labels for all object directly managed by this chart. |
| labels | object | `{}` | labels for tempo |
| nameOverride | string | `""` | Overrides the chart's name |
| networkPolicy.allowExternal | bool | `true` | |
Expand Down
3 changes: 3 additions & 0 deletions charts/tempo/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.extraLabels }}
{{ toYaml . }}
{{- end }}
{{- with .Values.global.commonLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{/*
Expand Down
5 changes: 5 additions & 0 deletions charts/tempo/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
global:
# -- Common labels for all object directly managed by this chart.
commonLabels: {}

# -- Overrides the chart's name
nameOverride: ""

Expand Down Expand Up @@ -282,6 +286,7 @@ podAnnotations: {}
podLabels: {}

# Apply extra labels to common labels.
# DEPRECATED: use global.commonLabels
extraLabels: {}

# -- Volumes to add
Expand Down

0 comments on commit e6d8d64

Please sign in to comment.