| # SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org> |
| # |
| # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| |
| --- |
| apiVersion: v1 |
| kind: Service |
| metadata: |
| name: {{ template "subscriber-proxy.fullname" . }} |
| labels: |
| app: {{ template "subscriber-proxy.fullname" . }} |
| chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| release: "{{ .Release.Name }}" |
| heritage: "{{ .Release.Service }}" |
| {{- include "subscriber-proxy.labels" . | nindent 4 }} |
| spec: |
| type: {{ .Values.service.type }} |
| selector: |
| name: {{ template "subscriber-proxy.fullname" . }} |
| ports: |
| - name: sub-proxy |
| port: {{.Values.config.port}} |
| protocol: TCP |
| |