| {{/* |
| # Copyright 2022-present Open Networking Foundation |
| |
| # SPDX-License-Identifier: Apache-2.0 |
| */}} |
| |
| apiVersion: v1 |
| kind: Service |
| metadata: |
| name: {{ include "aether-enodebd.fullname" . }} |
| labels: |
| {{- include "aether-enodebd.labels" . | nindent 4 }} |
| spec: |
| type: {{ .Values.service.enodebd.type }} |
| ports: |
| - name: enodebd-service |
| port: {{ .Values.service.enodebd.port }} |
| targetPort: {{ .Values.service.enodebd.port }} |
| nodePort: {{ .Values.service.enodebd.external.nodePort }} |
| - name: prometheus-exporter |
| port: {{ .Values.service.prometheus.port }} |
| targetPort: {{ .Values.service.prometheus.port }} |
| nodePort: {{ .Values.service.prometheus.external.nodePort }} |
| selector: |
| {{- include "aether-enodebd.selectorLabels" . | nindent 4 }} |