Skip to content

Commit

Permalink
add parentheses to guard against nested undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
martini-source committed Jan 19, 2024
1 parent 7331bbc commit 28aed83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appuio/stardog/templates/monitoring/stardog-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- if .Values.ingress.enabled }}
- alert: HttpCheck
expr: probe_success{instance="https://{{ .Values.ingress.host }}/admin/healthcheck"} != 1
for: {{ default "1m" .Values.alerts.httpCheck.for | quote }}
for: {{ default "1m" (((.Values.alerts).httpCheck).for) | quote }}
annotations:
summary: Http check failed
description: "Http check failed on {{ "{{" }} $labels.instance {{ "}}" }}"
Expand Down

0 comments on commit 28aed83

Please sign in to comment.