mirror of https://git.rancher.io/charts
13 lines
514 B
YAML
13 lines
514 B
YAML
{{- if and .Values.prometheusRule .Values.clients }}{{- if and .Values.prometheusRule.enabled .Values.clients.enabled }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: PrometheusRule
|
|
metadata:
|
|
labels: {{ include "windowsExporter.labels" . | nindent 4 }}
|
|
name: {{ template "windowsExporter.name" . }}
|
|
namespace: {{ template "windowsExporter.namespace" . }}
|
|
spec:
|
|
groups:
|
|
- name: windows-exporter-relabel.rules
|
|
rules:
|
|
{{- include "windowsExporter.renamedMetricsRules" . | nindent 4 -}}
|
|
{{- end }}{{- end }} |