Skip to content

Commit 38c977b

Browse files
authored
Update charts/grafana/README.md
Signed-off-by: Jan-Otto Kröpke <[email protected]>
1 parent c3e2721 commit 38c977b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

charts/grafana/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,13 @@ need to instead set `global.imageRegistry`.
5555

5656
### To 10.0.0
5757

58-
Static alerting resources now support Helm templating. If you are using the `alerting` configuration,
59-
double curly braces must be escaped using `{{ "{{" }}` syntax to prevent unintended template processing.
58+
Static alerting resources now support Helm templating. This means that alerting resources loaded from external files (`alerting.*.files`) are now processed by the Helm template engine.
59+
60+
If you already use template expressions intended for Alertmanager (for example, `{{ $labels.instance }}`), these must now be escaped to avoid unintended Helm evaluation. To escape them, wrap the braces with an extra layer like this:
61+
62+
`{{ "{{" }} $labels.instance {{ "}}" }}`
63+
64+
This ensures the expressions are preserved for Alertmanager instead of being rendered by Helm.
6065

6166
## Configuration
6267

0 commit comments

Comments
 (0)