Merge pull request #160 from samber/fix-rule-template-quotes

Fix rule template: removing quotes
This commit is contained in:
Samuel Berthe 2020-10-23 10:55:38 +02:00 committed by GitHub
commit 46b5c7bb43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,8 +84,8 @@
labels:
severity: {{ rule.severity }}
annotations:
summary: "{{ rule.name }} (instance {% raw %}{{ $labels.instance }}{% endraw %})"
description: "{{ rule.description }}\n VALUE = {% raw %}{{ $value }}{% endraw %}\n LABELS: {% raw %}{{ $labels }}{% endraw %}"
summary: {{ rule.name }} (instance {% raw %}{{ $labels.instance }}{% endraw %})
description: {{ rule.description }}\n VALUE = {% raw %}{{ $value }}{% endraw %}\n LABELS: {% raw %}{{ $labels }}{% endraw %}
{% endhighlight %}