Skip to content

Commit

Permalink
Fix global.extraEnv key support for metrics-generator statefulset
Browse files Browse the repository at this point in the history
Signed-off-by: Linas Klimaitis <[email protected]>
  • Loading branch information
bruksnys committed Oct 9, 2024
1 parent 350783e commit 6ef8b0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/tempo-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-distributed
description: Grafana Tempo in MicroService mode
type: application
version: 1.18.2
version: 1.18.3
appVersion: 2.6.0
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
2 changes: 1 addition & 1 deletion charts/tempo-distributed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tempo-distributed

![Version: 1.18.2](https://img.shields.io/badge/Version-1.18.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square)
![Version: 1.18.3](https://img.shields.io/badge/Version-1.18.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square)

Grafana Tempo in MicroService mode

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,14 @@ spec:
- name: {{ .name | quote }}
containerPort: {{ .port }}
{{- end }}
{{- with .Values.metricsGenerator.extraEnv }}
{{- if or .Values.global.extraEnv .Values.metricsGenerator.extraEnv }}
env:
{{- toYaml . | nindent 12 }}
{{- with .Values.global.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.metricsGenerator.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- with .Values.metricsGenerator.extraEnvFrom }}
envFrom:
Expand Down

0 comments on commit 6ef8b0d

Please sign in to comment.