| # Copyright 2020-present Open Networking Foundation |
| # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| {{- if .Values.config.smf.deploy }} |
| {{ tuple "smf" . | include "5g-control-plane.metadata_labels" | indent 4 }} |
| type: {{ .Values.config.smf.serviceType }} |
| {{ tuple "smf" . | include "5g-control-plane.metadata_labels" | indent 4 }} |
| port: {{ .Values.config.smf.n4.port }} |
| {{- if eq .Values.config.smf.serviceType "NodePort" }} |
| {{- if .Values.config.smf.n4.nodePort }} |
| nodePort: {{ .Values.config.smf.n4.nodePort }} |
| - name: prometheus-exporter |
| port: {{ .Values.config.smf.prometheus.port }} |
| {{- if eq .Values.config.smf.serviceType "NodePort" }} |
| {{- if .Values.config.smf.prometheus.nodePort }} |
| nodePort: {{ .Values.config.smf.prometheus.nodePort }} |
| port: {{ .Values.config.smf.sbi.port }} |
| {{- if eq .Values.config.smf.serviceType "NodePort" }} |
| {{- if .Values.config.smf.sbi.nodePort }} |
| nodePort: {{ .Values.config.smf.sbi.nodePort }} |