Grafana braces {{ }} collide with my Helm chart braces {{ }}.
- Is it possible to change braces in Grafana from
{{ }}to{% %}? - Is it possible to change braces in Helm from
{{ }}to{% %}?
Grafana braces {{ }} collide with my Helm chart braces {{ }}.
{{ }} to {% %}?{{ }} to {% %}?Unfortunately, the most straightforward way to do this is to provide the Grafana template data as a raw string in the Helm template, something like this:
apiVersion: v1
kind: ConfigMap
name: stackoverflow-example
data:
grafana.template: |-
{{`{{ your-grafana.data.here }}`}}
In this case, the Helm template will only see the outer pair, and render the rest as an opaque string.