blob: 465480b3a63af9a3311764074be30769836db185 [file] [log] [blame]
Andy Bavier1cd0a4b2021-04-26 15:24:57 -07001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
6{{- if .Values.prometheus.enabled }}
7---
8apiVersion: monitoring.coreos.com/v1
9kind: ServiceMonitor
10metadata:
11 name: edge-maintenance-agent
12spec:
13 endpoints:
14 - path: /metrics
15 port: http
16 selector:
17 matchLabels:
18 {{- include "edge-maintenance-agent.selectorLabels" . | nindent 6 }}
19{{- end }}