Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
Sean Condon | 160ec1d | 2022-02-08 12:58:25 +0000 | [diff] [blame] | 3 | # SPDX-License-Identifier: Apache-2.0 |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 4 | apiVersion: v1 |
| 5 | kind: Service |
| 6 | metadata: |
| 7 | name: {{ template "demo-exporter.fullname" . }} |
| 8 | labels: |
| 9 | app: {{ template "demo-exporter.fullname" . }} |
| 10 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| 11 | release: "{{ .Release.Name }}" |
| 12 | heritage: "{{ .Release.Service }}" |
| 13 | {{- include "demo-exporter.labels" . | nindent 4 }} |
| 14 | spec: |
| 15 | type: {{ .Values.service.type }} |
| 16 | selector: |
| 17 | name: {{ template "demo-exporter.fullname" . }} |
| 18 | ports: |
| 19 | - name: metrics |
| 20 | port: 2112 |
| 21 | - name: exporterui |
| 22 | port: 8081 |