| # Copyright 2020-present Open Networking Foundation |
| # SPDX-License-Identifier: Apache-2.0 |
| {{- if .Values.config.nssf.deploy }} |
| {{ tuple "nssf" . | include "5g-control-plane.metadata_labels" | indent 4 }} |
| type: {{ .Values.config.nssf.serviceType }} |
| {{ tuple "nssf" . | include "5g-control-plane.metadata_labels" | indent 4 }} |
| port: {{ .Values.config.nssf.sbi.port }} |
| {{- if eq .Values.config.nssf.serviceType "NodePort" }} |
| {{- if .Values.config.nssf.sbi.nodePort }} |
| nodePort: {{ .Values.config.nssf.sbi.nodePort }} |