added repo
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{{- with .Values.metaMonitoring.prometheusRule }}
|
||||
{{- if .mimirAlerts }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
metadata:
|
||||
name: {{ include "mimir.resourceName" (dict "ctx" $ "component" "alerts") }}
|
||||
{{- with .annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "mimir.labels" (dict "ctx" $) | nindent 4 }}
|
||||
{{- with .labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
namespace: {{ .namespace | default $.Release.Namespace | quote }}
|
||||
spec:
|
||||
{{- $.Files.Get "mixins/alerts.yaml" | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user