blob: 02181acde18db29008cb93b5c4cf2ca12d604b70 [file] [log] [blame]
Amit Wankhede3d0bc582021-10-18 22:28:50 +05301# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
2#
Sean Condon160ec1d2022-02-08 12:58:25 +00003# SPDX-License-Identifier: Apache-2.0
Amit Wankhede3d0bc582021-10-18 22:28:50 +05304---
5apiVersion: v1
6kind: Service
7metadata:
8 name: {{ template "prom-label-proxy.fullname" . }}
9 labels:
10 app: {{ template "prom-label-proxy.fullname" . }}
11 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
12 release: "{{ .Release.Name }}"
13 heritage: "{{ .Release.Service }}"
14 {{- include "prom-label-proxy.labels" . | nindent 4 }}
15spec:
16 type: {{ .Values.service.type }}
17 selector:
18 name: {{ template "prom-label-proxy.fullname" . }}
19 ports:
20 - name: http
21 port: {{ .Values.service.http.port }}
22 - name: gnmi
23 port: {{ .Values.service.gnmi.port }}
24