blob: 14c2a3bd86a7ff790b8dc12fe835e10d0f605031 [file] [log] [blame]
Charles Chane1e5e622022-02-16 15:17:05 -08001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: Apache-2.0
5*/}}
6{{- if .Values.servicemonitor.enabled }}
7---
8apiVersion: monitoring.coreos.com/v1
9kind: ServiceMonitor
10metadata:
11 name: upf
12spec:
13 endpoints:
14 - path: /metrics
15 port: prometheus-exporter
16 selector:
17 matchLabels:
18{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 6 }}
19{{- end }}