blob: 65f6133744e4539a81cc5562e85e37c69ba90a33 [file] [log] [blame]
Andy Baviere84456c2021-04-09 14:00:45 -07001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
6{{- if .Values.servicemonitor.enabled }}
7---
Andy Bavier75797e22021-04-19 19:42:05 -07008apiVersion: 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 }}
Andy Baviere84456c2021-04-09 14:00:45 -070019{{- end }}