blob: 25673d65bdcd57095afa9e0cecc1afe11ec0fb6f [file] [log] [blame]
# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: Apache-2.0
apiVersion: v1
kind: Service
metadata:
name: {{ template "chronos-exporter.fullname" . }}
labels:
app: {{ template "chronos-exporter.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- include "chronos-exporter.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
selector:
name: {{ template "chronos-exporter.fullname" . }}
ports:
- name: metrics
port: 2112
- name: exporterui
port: 8081