Skip to content

Commit

Permalink
[tempo-vulture] Add commonLabels (#3319)
Browse files Browse the repository at this point in the history
Signed-off-by: fabio trigari <trigarifabio@gmail.com>
  • Loading branch information
ftrigari committed Nov 1, 2024
1 parent 1102acd commit 74160c2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tempo-vulture/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-vulture
description: Grafana Tempo Vulture - A tool to monitor Tempo performance.
type: application
version: 0.5.0
version: 0.5.1
appVersion: 2.5.0
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
1 change: 1 addition & 0 deletions charts/tempo-vulture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ tempoAddress:
| extraEnv | list | `[]` | Environment variables to add to the vulture pods |
| extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the vulture pods |
| fullnameOverride | string | `""` | Overrides the chart's computed fullname |
| global.commonLabels | object | `{}` | Common labels for all object directly managed by this chart. scope: * |
| hostAliases | list | `[]` | hostAliases to add |
| image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| image.repository | string | `"docker.io/grafana/tempo-vulture"` | Docker image repository |
Expand Down
3 changes: 3 additions & 0 deletions charts/tempo-vulture/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ helm.sh/chart: {{ include "tempo-vulture.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.global.commonLabels }}
{{ toYaml . }}
{{- end }}
{{- end }}

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

# -- Overrides the chart's name
nameOverride: ""
# -- Overrides the chart's computed fullname
Expand Down

0 comments on commit 74160c2

Please # to comment.