blob: 6d536a4d57b5833430716c8822ce2d796c63cb8d [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 Ronquilloec2d3e42020-06-05 11:33:39 -07004# SPDX-License-Identifier: Apache-2.0
5# SPDX-License-Identifier: LicenseRef-ONF-Member-Only
Jeremy Ronquillo223db002020-06-05 10:28:22 -07006*/}}
7
8---
9apiVersion: v1
10kind: Service
11metadata:
12 name: accelleran-cu
13 labels:
14{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
15spec:
16 selector:
17{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
18 ports:
19 - name: s1ap
20 port: {{ .Values.config.vran.ports.s1ap.port }}
21 protocol: SCTP
22 - name: nats
23 port: {{ .Values.config.vran.ports.nats.port }}
24 protocol: TCP
25 - name: redis
26 port: {{ .Values.config.vran.ports.redis.port }}
27 protocol: TCP
28
29---
30apiVersion: v1
31kind: Service
32metadata:
33 name: acceleran-cu-external
34 labels:
35{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
36spec:
37 selector:
38{{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }}
39 type: NodePort
40 ports:
41 - name: nats
42 port: {{ .Values.config.vran.ports.nats.port }}
43 protocol: TCP
44 nodePort: {{ .Values.config.vran.ports.nats.nodePort }}
45 - name: redis
46 port: {{ .Values.config.vran.ports.redis.port }}
47 protocol: TCP
48 nodePort: {{ .Values.config.vran.ports.redis.nodePort }}