Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 1 | {{/* |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame] | 2 | # Copyright 2019-present Open Networking Foundation |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 3 | |
Jeremy Ronquillo | 6046ce3 | 2020-06-18 11:06:29 -0700 | [diff] [blame] | 4 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 5 | */}} |
| 6 | |
| 7 | --- |
| 8 | apiVersion: v1 |
| 9 | kind: Service |
| 10 | metadata: |
| 11 | name: accelleran-cu |
| 12 | labels: |
| 13 | {{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }} |
| 14 | spec: |
| 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 | --- |
| 29 | apiVersion: v1 |
| 30 | kind: Service |
| 31 | metadata: |
| 32 | name: acceleran-cu-external |
| 33 | labels: |
| 34 | {{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }} |
| 35 | spec: |
| 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 }} |