fix(prometheus_rule): dont deploy loki rules of not configured

!8
This commit is contained in:
2024-02-04 20:12:45 +09:30
parent 39af78c6ea
commit cb12f338f1

View File

@ -1,5 +1,6 @@
---
{{- if .Values.nfc_monitoring.loki.enabled | default false -}}
{{ if .Values.nfc_monitoring.loki.config }}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
@ -110,4 +111,5 @@ spec:
labels:
severity: warning
{{ end }}
{{- end -}}