| # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
| # |
| # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| apiVersion: v1 |
| kind: Service |
| metadata: |
| name: {{ template "demo-exporter.fullname" . }} |
| labels: |
| app: {{ template "demo-exporter.fullname" . }} |
| chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| release: "{{ .Release.Name }}" |
| heritage: "{{ .Release.Service }}" |
| {{- include "demo-exporter.labels" . | nindent 4 }} |
| spec: |
| type: {{ .Values.service.type }} |
| selector: |
| name: {{ template "demo-exporter.fullname" . }} |
| ports: |
| - name: metrics |
| port: 2112 |
| - name: exporterui |
| port: 8081 |