feat: remove the need for raw jinja blocks (#1158)
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
f9481d6202
commit
e6fbc6e128
92 files changed
+430
-441
No files matched your search
@@ -1,4 +1,4 @@
|
||||
{% if volsync.enabled | default(false) %}
|
||||
<% if volsync.enabled | default(false) %>
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
@@ -17,9 +17,9 @@ spec:
|
||||
severity: critical
|
||||
- alert: VolSyncVolumeOutOfSync
|
||||
annotations:
|
||||
summary: "{% raw %}{{ $labels.obj_namespace }}/{{ $labels.obj_name }} volume is out of sync.{% endraw %}"
|
||||
summary: "{{ $labels.obj_namespace }}/{{ $labels.obj_name }} volume is out of sync."
|
||||
expr: volsync_volume_out_of_sync == 1
|
||||
for: 15m
|
||||
labels:
|
||||
severity: critical
|
||||
{% endif %}
|
||||
<% endif %>
|
||||
Reference in new issue
Block a user