blob: 0bc44d08f396d3472bc65ed80b2a36c8194dbfd1 [file] [log] [blame]
PUSHP RAJ7c521fa2021-12-06 14:19:03 +00001# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
2#
3# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4apiVersion: v1
5kind: Service
6metadata:
7 name: {{ template "chronos-exporter.fullname" . }}
8 labels:
9 app: {{ template "chronos-exporter.fullname" . }}
10 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
11 release: "{{ .Release.Name }}"
12 heritage: "{{ .Release.Service }}"
13 {{- include "chronos-exporter.labels" . | nindent 4 }}
14spec:
15 type: {{ .Values.service.type }}
16 selector:
17 name: {{ template "chronos-exporter.fullname" . }}
18 ports:
19 - name: metrics
20 port: 2112
21 - name: exporterui
22 port: 8081