blob: 14c2a3bd86a7ff790b8dc12fe835e10d0f605031 [file] [log] [blame]
{{/*
# Copyright 2020-present Open Networking Foundation
# SPDX-License-Identifier: Apache-2.0
*/}}
{{- if .Values.servicemonitor.enabled }}
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: upf
spec:
endpoints:
- path: /metrics
port: prometheus-exporter
selector:
matchLabels:
{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 6 }}
{{- end }}