blob: f3d9c89127d855a0ba6746c6f5de3a4f3afcca7a [file] [log] [blame]
# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
{{- if eq .Values.prometheusEnabled true }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: sdcore-adapter
labels:
{{- include "sdcore-adapter.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "sdcore-adapter.selectorLabels" . | nindent 6 }}
endpoints:
- port: prometheus
path: /metrics
scheme: HTTP
{{ end }}