blob: e9fb3e04910fd95f05914e94e0b42c25a60c966b [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001{{/*
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002# Copyright 2019-present Open Networking Foundation
Jeremy Ronquillo223db002020-06-05 10:28:22 -07003
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07004# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -07005*/}}
6
7---
8apiVersion: v1
9kind: Service
10metadata:
11 name: accelleran-cu
12 labels:
13{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
14spec:
15 selector:
16{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
17 ports:
18 - name: s1ap
19 port: {{ .Values.config.vran.ports.s1ap.port }}
20 protocol: SCTP
21 - name: nats
22 port: {{ .Values.config.vran.ports.nats.port }}
23 protocol: TCP
24 - name: redis
25 port: {{ .Values.config.vran.ports.redis.port }}
26 protocol: TCP
27
28---
29apiVersion: v1
30kind: Service
31metadata:
32 name: acceleran-cu-external
33 labels:
34{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
35spec:
36 selector:
37{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
38 type: NodePort
39 ports:
40 - name: nats
41 port: {{ .Values.config.vran.ports.nats.port }}
42 protocol: TCP
43 nodePort: {{ .Values.config.vran.ports.nats.nodePort }}
44 - name: redis
45 port: {{ .Values.config.vran.ports.redis.port }}
46 protocol: TCP
47 nodePort: {{ .Values.config.vran.ports.redis.nodePort }}