Commit 91b6703
committed
[tempo-distributed] fix: missing newline between zone label and common labels in ingester
When zone-aware replication is enabled, the ingester.labels helper renders
zone-specific labels (name, rollout-group, zone) followed by common labels via
{{- include "tempo.labels" ... }}.
The leading {{- on the include trims the newline produced after {{- end }},
causing the zone value and the first common label to be concatenated on a single
line (e.g. "zone: us-central1-ahelm.sh/chart: ..."), which is invalid YAML.
Fix: remove the leading dash from {{- include so the separating newline is
preserved, matching the behaviour of the inline labels in v2.13.0 and earlier.
Fixes: rendering failure introduced in v2.14.0 (#345)
Signed-off-by: Ilia <ilia.lazebnik@gmail.com>1 parent 07ef3de commit 91b6703
File tree
2 files changed
+2
-2
lines changed- charts/tempo-distributed
- templates/ingester
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments