Skip to content

Commit c58286c

Browse files
committed
add 10.0.0 upgrade guide for alerting tpl processing
Signed-off-by: waterdrag0n <[email protected]>
1 parent fd5848f commit c58286c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

charts/grafana/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: grafana
3-
version: 9.4.5
3+
version: 10.0.0
44
appVersion: 12.1.1
55
kubeVersion: "^1.8.0-0"
66
description: The leading tool for querying and visualizing time series and metrics.

charts/grafana/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ to `global.imageRegistry`. If you were not previously setting `global.image.regi
5353
is required on upgrade. If you were previously setting `global.image.registry`, you will
5454
need to instead set `global.imageRegistry`.
5555

56+
### To 10.0.0
57+
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.
60+
5661
## Configuration
5762

5863
| Parameter | Description | Default |
@@ -681,7 +686,7 @@ The two possibilities for static alerting resource provisioning are:
681686
* The format of the files is defined in the [Grafana documentation](https://grafana.com/docs/grafana/next/alerting/set-up/provision-alerting-resources/file-provisioning/) on file provisioning.
682687
* The chart supports importing YAML and JSON files.
683688
* The filename must be unique, otherwise one volume mount will overwrite the other.
684-
* In case of inlining, double curly braces that arise from the Grafana configuration format and are not intended as templates for the chart must be escaped.
689+
* Alerting configurations support Helm templating. Double curly braces that arise from the Grafana configuration format and are not intended as templates for the chart must be escaped.
685690
* The number of total files under `alerting:` is not limited. Each file will end up as a volume mount in the corresponding provisioning folder of the deployed Grafana instance.
686691
* The file size for each import is limited by what the function `.Files.Get` can handle, which suffices for most cases.
687692

0 commit comments

Comments
 (0)