blob: 204105fbd73d88f1417ebe3ac1591ab4f3620cc1 [file] [log] [blame]
# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: Apache-2.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